Package de.xima.fc.workflow.taglib.model
Class InsertNodeData
- java.lang.Object
-
- de.xima.fc.workflow.taglib.model.InsertNodeData
-
- All Implemented Interfaces:
Serializable
public final class InsertNodeData extends Object implements Serializable
POJO model for inserting a node into the flowchart from external Java code. The node is inserted at a suitable location.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InsertNodeData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getIndex()
NodeModel
getNode()
String
getNodeUuid()
Map<String,com.alibaba.fastjson.JSONObject>
getParams()
String
getTaskUuid()
void
setIndex(Long index)
void
setNode(NodeModel node)
void
setNodeUuid(String nodeUuid)
void
setParams(Map<String,com.alibaba.fastjson.JSONObject> params)
void
setTaskUuid(String taskUuid)
-
-
-
Method Detail
-
getIndex
@Nullable public Long getIndex()
- Returns:
- Index of the child in children array of the
parent node
at which to insert the node.
-
getNode
@Nullable public NodeModel getNode()
- Returns:
- Node to insert.
-
getNodeUuid
@Nullable public String getNodeUuid()
- Returns:
- Parent node that should contain the inserted node.
-
getParams
@Nullable public Map<String,com.alibaba.fastjson.JSONObject> getParams()
- Returns:
- Params of the node and its children.
-
getTaskUuid
@Nullable public String getTaskUuid()
- Returns:
- UUID of the task where to insert the node.
-
setIndex
public void setIndex(Long index)
-
setNode
public void setNode(NodeModel node)
- Parameters:
node
- Node to insert.
-
setNodeUuid
public void setNodeUuid(String nodeUuid)
- Parameters:
nodeUuid
- Parent node that should contain the inserted node.
-
setTaskUuid
public void setTaskUuid(String taskUuid)
-
-