public class ObjectDescription extends java.lang.Object implements ActionDescription
Constructor and Description |
---|
ObjectDescription(java.lang.String n,
java.lang.String c,
java.util.Vector<ParameterDescription> p,
java.util.Vector<java.lang.String> h)
Build a new 'object description' object
|
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 |
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 ObjectDescription(java.lang.String n, java.lang.String c, java.util.Vector<ParameterDescription> p, java.util.Vector<java.lang.String> h)
n
- The name of the objectc
- The clazz name of the implementation of the objectp
- The parameters descriptions which are needed to construct the objecth
- The help of the objectpublic 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 getName()
getName
in interface ActionDescription
public java.util.Vector<ParameterDescription> getParams()
getParams
in interface ActionDescription