public class NodeDescription
extends java.lang.Object
Constructor and Description |
---|
NodeDescription(NodeDescription node)
Build a new element which is a copy of the given one
|
NodeDescription(java.lang.String type)
Build a node description element, the type of the node must be defined in
parameter
|
Modifier and Type | Method and Description |
---|---|
static NodeDescription |
createNonePluginNode(java.lang.String type)
Create a new node description of the specified type, if this type is
known
|
java.lang.String |
getActionName()
Attribute actionName getter
|
java.util.Map<java.lang.String,java.lang.String> |
getParams()
Attribute params getter
|
java.lang.String |
getPlugin()
Attribute plugin getter
|
java.lang.String |
getType()
Attribute type getter
|
void |
setActionName(java.lang.String string)
Attribute actionName setter
|
void |
setParams(java.util.Map<java.lang.String,java.lang.String> map)
Attribute params setter
|
void |
setPlugin(java.lang.String string)
Attribute plugin setter
|
java.lang.String |
toString()
This method serialize the object
|
public NodeDescription(java.lang.String type)
type
- The node typepublic NodeDescription(NodeDescription node)
node
- The node description to be copiedpublic java.lang.String getActionName()
public java.util.Map<java.lang.String,java.lang.String> getParams()
public java.lang.String getPlugin()
public java.lang.String getType()
public void setActionName(java.lang.String string)
string
- The name of the action representing by this nodepublic void setParams(java.util.Map<java.lang.String,java.lang.String> map)
map
- The table containing all parameters valuespublic void setPlugin(java.lang.String string)
string
- The plugin namepublic static NodeDescription createNonePluginNode(java.lang.String type)
type
- The type of the node which will be createdpublic java.lang.String toString()
toString
in class java.lang.Object