public class SampleDescription extends java.lang.Object implements ActionDescription
Constructor and Description |
---|
SampleDescription(java.lang.String n,
java.lang.String c,
java.lang.String m,
java.util.Vector<ParameterDescription> p,
java.util.Vector<java.lang.String> h)
Build a new sample description object with specified values
|
Modifier and Type | Method and Description |
---|---|
void |
createNodeDescription(NodeDescription desc)
Method which update the node description for this action
The node have been initialised with the rigth type, we initialise the other fields
|
java.lang.String |
getClazz()
Attribute clazz getter
|
java.lang.String |
getGUIKey()
GUIKey getter
|
java.util.Vector<java.lang.String> |
getHelp()
Attribute help getter
|
java.lang.String |
getMethod()
Atribute method getter
|
java.lang.String |
getName()
Attribute name getter
|
java.util.Vector<ParameterDescription> |
getParams()
Attribute params getter
|
void |
setGUIKey(java.lang.String key)
The GUIKey Setter, this key is the reference in the table which store
the parameters definitions interfaces
|
public SampleDescription(java.lang.String n, java.lang.String c, java.lang.String m, java.util.Vector<ParameterDescription> p, java.util.Vector<java.lang.String> h)
n
- The name of the actionc
- The clazz where the action method is definedm
- The method to be launch by the actionp
- The description of the parameters needed for this methodh
- The help of the actionpublic void createNodeDescription(NodeDescription desc)
ActionDescription
createNodeDescription
in interface ActionDescription
desc
- The node descriptionpublic java.lang.String getGUIKey()
ActionDescription
getGUIKey
in interface ActionDescription
public void setGUIKey(java.lang.String key)
ActionDescription
setGUIKey
in interface ActionDescription
key
- The keypublic java.lang.String getClazz()
public java.util.Vector<java.lang.String> getHelp()
getHelp
in interface ActionDescription
public java.lang.String getMethod()
public java.lang.String getName()
getName
in interface ActionDescription
public java.util.Vector<ParameterDescription> getParams()
getParams
in interface ActionDescription