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 LonggetIndex()NodeModelgetNode()StringgetNodeUuid()Map<String,com.alibaba.fastjson.JSONObject>getParams()StringgetTaskUuid()voidsetIndex(Long index)voidsetNode(NodeModel node)voidsetNodeUuid(String nodeUuid)voidsetParams(Map<String,com.alibaba.fastjson.JSONObject> params)voidsetTaskUuid(String taskUuid)
-
-
-
Method Detail
-
getIndex
@Nullable public Long getIndex()
- Returns:
- Index of the child in children array of the
parent nodeat 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)
-
-