Class NESTAbstractWorkflowModifierImpl<G extends NESTAbstractWorkflowObject>
- java.lang.Object
-
- de.uni_trier.wi2.procake.data.object.nest.utils.impl.NESTUtils<G>
-
- de.uni_trier.wi2.procake.data.object.nest.utils.impl.NESTGraphModifierImpl<G>
-
- de.uni_trier.wi2.procake.data.object.nest.utils.impl.NESTAbstractWorkflowModifierImpl<G>
-
- All Implemented Interfaces:
NESTAbstractWorkflowModifier,NESTGraphModifier
- Direct Known Subclasses:
NESTWorkflowModifierImpl
public class NESTAbstractWorkflowModifierImpl<G extends NESTAbstractWorkflowObject> extends NESTGraphModifierImpl<G> implements NESTAbstractWorkflowModifier
-
-
Field Summary
Fields Modifier and Type Field Description protected StringDEFAULT_CONSTRAINT_EDGE_CLASS_NAMEprotected StringDEFAULT_CONTROLFLOW_EDGE_CLASS_NAMEprotected StringDEFAULT_DATA_NODE_CLASS_NAMEprotected StringDEFAULT_DATAFLOW_EDGE_CLASS_NAMEprotected StringDEFAULT_PART_OF_EDGE_CLASS_NAMEprotected StringDEFAULT_SUB_WORKFLOW_NODE_CLASS_NAMEprotected StringDEFAULT_TASK_NODE_CLASS_NAMEprotected StringDEFAULT_WORKFLOW_NODE_CLASS_NAME
-
Constructor Summary
Constructors Constructor Description NESTAbstractWorkflowModifierImpl(G graph)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckPrePostNodes(NESTAbstractWorkflowObject subgraphToInsert, Map<String,String> oldToNewIDMapping, NESTSequenceNodeObject preNode, NESTSequenceNodeObject postNode)Partial method used for methodinsertSubgraph(NESTAbstractWorkflowObject, NESTSequenceNodeObject, NESTSequenceNodeObject, NESTNodeObject)and it's submethods to check pre and post nodes.booleandropBlockSequenceNode(NESTNodeObject nodeObject)Removes a sequence node from the nest graph and performs the necessary changes on the part-of and control-flow edges.booleandropBlockSequenceNode(String id)Removes a sequence node from the nest graph and performs the necessary changes on the part-of and control-flow edges.StringgetDefaultConstraintEdgeClassName()StringgetDefaultControlflowEdgeClassName()StringgetDefaultDataflowEdgeClassName()StringgetDefaultDataNodeClassName()StringgetDefaultPartOfEdgeClassName()StringgetDefaultSubWorkflowNodeClassName()StringgetDefaultTaskNodeClassName()StringgetDefaultWorkflowNodeClassName()protected voidinitializeDefaultClassNames(NESTAbstractWorkflowObject graph)NESTEdgeObjectinsertNewConstraintEdge(NESTNodeObject preNode, NESTNodeObject postNode, DataObject semanticDescriptor)Inserts a new constraint edge between the given graph nodes.NESTEdgeObjectinsertNewControlflowEdge(NESTSequenceNodeObject preNode, NESTSequenceNodeObject postNode, DataObject semanticDescriptor)Adds a controlflow edge between the given graph nodes.NESTEdgeObjectinsertNewDataflowEdge(NESTNodeObject preNode, NESTNodeObject postNode, DataObject semanticDescriptor)Inserts a new dataflow edge between the given graph nodes.NESTDataNodeObjectinsertNewDataNode(DataObject semanticDescriptor)Creates a new data node within the graph with the given semantic description and links it to the workflow node via part-of edge.NESTDataNodeObjectinsertNewDataNode(String dataNodeClassName, DataObject semanticDescriptor)Creates a new data node within the graph with the given semantic description and links it to the workflow node via part-of edge.<t extends NESTEdgeObject>
tinsertNewEdge(NESTNodeObject pre, NESTNodeObject post, String edgeClassName, DataObject semanticDescriptor)Creates a new edge of the given class with a unique id and inserts it in the nest graph between the given nodes.<t extends NESTNodeObject>
tinsertNewNode(String nodeClassName, DataObject semanticDescriptor)<t extends NESTNodeObject>
tinsertNewNode(String nodeClassName, NESTNodeObject parentWorkflowNode, DataObject semanticDescriptor, DataObject partOfEdgeSemanticDescriptor)NESTEdgeObjectinsertNewPartOfEdge(NESTNodeObject preNode, NESTNodeObject postNode, DataObject semanticDescriptor)Inserts a new part-of edge between the given graph nodes.NESTSubWorkflowNodeObjectinsertNewSubWorkflowNode(NESTNodeObject parentWorkflowNode, DataObject semanticDescriptor)Inserts a new subworkflow node in the nest graph.NESTTaskNodeObjectinsertNewTaskNode(DataObject semanticDescriptor)Creates a new task node within the graph with the given semantic description and links it to the workflow node via part-of edge.NESTTaskNodeObjectinsertNewTaskNode(String taskNodeClassName, DataObject semanticDescriptor)Creates a new task node within the graph with the given semantic description and links it to the workflow node via part-of edge.NESTWorkflowNodeObjectinsertNewWorkflowNode(DataObject semanticDescriptor)Creates a new workflow node within the graph with the given semantic description.NESTWorkflowNodeObjectinsertNewWorkflowNode(String workflowNodeClassName, DataObject semanticDescriptor)Creates a new workflow node within the graph with the given semantic description.Map<String,String>insertSubgraph(NESTAbstractWorkflowObject subgraphToInsert, NESTSequenceNodeObject preNode, NESTSequenceNodeObject postNode, NESTNodeObject parentNode)Adds a given sub-graph into a target graph this modifier is responsible for.protected voidinsertSubgraphEdges(NESTGraphObject subgraphToInsert, Map<String,String> oldToNewIDMapping, NESTNodeObject parentNode)Partial method used for methodinsertSubgraph(NESTAbstractWorkflowObject, NESTSequenceNodeObject, NESTSequenceNodeObject, NESTNodeObject)and it's submethods to insert edges from subgraph.voidremoveControlflowEdge(NESTNodeObject preNode, NESTNodeObject postNode)Removes the controlflow-edge between the given graph nodes.voidremoveDataflowEdge(NESTNodeObject preNode, NESTNodeObject postNode)Removes the dataflow-edge between the given graph nodes.booleanremoveDataNode(NESTDataNodeObject dataNode)Removes a semantic equal node of the given node from the graph.voidremoveSubgraph(NESTWorkflowObject subgraphToRemove)Removes the given subgraph from the parent graph.booleanremoveSubWorkflowNode(NESTSubWorkflowNodeObject subWorkflowNode)Removes the given node from the graph and adjusts the part-of hierarchy accordingly.booleanremoveTaskNode(NESTTaskNodeObject taskNode)Removes a semantic equal node of the given node from the graph.voidremoveUnproductiveTasks()Removes unproductive task nodes, i.e., tasks that do not have any ingoing or outgoing data-flow edgesvoidremoveUnusedDataObjects()Removes unused data objects i.e.voidsetDefaultConstraintEdgeClassName(String defaultConstraintEdgeClassName)voidsetDefaultControlflowEdgeClassName(String defaultControlflowEdgeClassName)voidsetDefaultDataflowEdgeClassName(String defaultDataflowEdgeClassName)voidsetDefaultDataNodeClassName(String defaultDataNodeClassName)voidsetDefaultPartOfEdgeClassName(String defaultPartOfEdgeClassName)voidsetDefaultSubWorkflowNodeClassName(String defaultSubWorkflowNodeClassName)voidsetDefaultTaskNodeClassName(String defaultTaskNodeClassName)voidsetDefaultWorkflowNodeClassName(String defaultWorkflowNodeClassName)protected voidvalidateClassName(String className, DataClass expectedSuperClass)-
Methods inherited from class de.uni_trier.wi2.procake.data.object.nest.utils.impl.NESTGraphModifierImpl
checkAllowedGraphClasses, extractPartialGraph, removeEdge, removeNode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.uni_trier.wi2.procake.data.object.nest.utils.NESTGraphModifier
extractPartialGraph, removeEdge, removeNode
-
-
-
-
Field Detail
-
DEFAULT_TASK_NODE_CLASS_NAME
protected String DEFAULT_TASK_NODE_CLASS_NAME
-
DEFAULT_DATA_NODE_CLASS_NAME
protected String DEFAULT_DATA_NODE_CLASS_NAME
-
DEFAULT_WORKFLOW_NODE_CLASS_NAME
protected String DEFAULT_WORKFLOW_NODE_CLASS_NAME
-
DEFAULT_SUB_WORKFLOW_NODE_CLASS_NAME
protected String DEFAULT_SUB_WORKFLOW_NODE_CLASS_NAME
-
DEFAULT_CONTROLFLOW_EDGE_CLASS_NAME
protected String DEFAULT_CONTROLFLOW_EDGE_CLASS_NAME
-
DEFAULT_PART_OF_EDGE_CLASS_NAME
protected String DEFAULT_PART_OF_EDGE_CLASS_NAME
-
DEFAULT_DATAFLOW_EDGE_CLASS_NAME
protected String DEFAULT_DATAFLOW_EDGE_CLASS_NAME
-
DEFAULT_CONSTRAINT_EDGE_CLASS_NAME
protected String DEFAULT_CONSTRAINT_EDGE_CLASS_NAME
-
-
Constructor Detail
-
NESTAbstractWorkflowModifierImpl
public NESTAbstractWorkflowModifierImpl(G graph)
-
-
Method Detail
-
getDefaultWorkflowNodeClassName
public String getDefaultWorkflowNodeClassName()
- Specified by:
getDefaultWorkflowNodeClassNamein interfaceNESTAbstractWorkflowModifier
-
setDefaultWorkflowNodeClassName
public void setDefaultWorkflowNodeClassName(String defaultWorkflowNodeClassName)
- Specified by:
setDefaultWorkflowNodeClassNamein interfaceNESTAbstractWorkflowModifier
-
getDefaultSubWorkflowNodeClassName
public String getDefaultSubWorkflowNodeClassName()
- Specified by:
getDefaultSubWorkflowNodeClassNamein interfaceNESTAbstractWorkflowModifier
-
setDefaultSubWorkflowNodeClassName
public void setDefaultSubWorkflowNodeClassName(String defaultSubWorkflowNodeClassName)
- Specified by:
setDefaultSubWorkflowNodeClassNamein interfaceNESTAbstractWorkflowModifier
-
getDefaultTaskNodeClassName
public String getDefaultTaskNodeClassName()
- Specified by:
getDefaultTaskNodeClassNamein interfaceNESTAbstractWorkflowModifier
-
setDefaultTaskNodeClassName
public void setDefaultTaskNodeClassName(String defaultTaskNodeClassName)
- Specified by:
setDefaultTaskNodeClassNamein interfaceNESTAbstractWorkflowModifier
-
getDefaultDataNodeClassName
public String getDefaultDataNodeClassName()
- Specified by:
getDefaultDataNodeClassNamein interfaceNESTAbstractWorkflowModifier
-
setDefaultDataNodeClassName
public void setDefaultDataNodeClassName(String defaultDataNodeClassName)
- Specified by:
setDefaultDataNodeClassNamein interfaceNESTAbstractWorkflowModifier
-
getDefaultControlflowEdgeClassName
public String getDefaultControlflowEdgeClassName()
- Specified by:
getDefaultControlflowEdgeClassNamein interfaceNESTAbstractWorkflowModifier
-
setDefaultControlflowEdgeClassName
public void setDefaultControlflowEdgeClassName(String defaultControlflowEdgeClassName)
- Specified by:
setDefaultControlflowEdgeClassNamein interfaceNESTAbstractWorkflowModifier
-
getDefaultPartOfEdgeClassName
public String getDefaultPartOfEdgeClassName()
- Specified by:
getDefaultPartOfEdgeClassNamein interfaceNESTAbstractWorkflowModifier
-
setDefaultPartOfEdgeClassName
public void setDefaultPartOfEdgeClassName(String defaultPartOfEdgeClassName)
- Specified by:
setDefaultPartOfEdgeClassNamein interfaceNESTAbstractWorkflowModifier
-
getDefaultDataflowEdgeClassName
public String getDefaultDataflowEdgeClassName()
- Specified by:
getDefaultDataflowEdgeClassNamein interfaceNESTAbstractWorkflowModifier
-
setDefaultDataflowEdgeClassName
public void setDefaultDataflowEdgeClassName(String defaultDataflowEdgeClassName)
- Specified by:
setDefaultDataflowEdgeClassNamein interfaceNESTAbstractWorkflowModifier
-
getDefaultConstraintEdgeClassName
public String getDefaultConstraintEdgeClassName()
- Specified by:
getDefaultConstraintEdgeClassNamein interfaceNESTAbstractWorkflowModifier
-
setDefaultConstraintEdgeClassName
public void setDefaultConstraintEdgeClassName(String defaultConstraintEdgeClassName)
- Specified by:
setDefaultConstraintEdgeClassNamein interfaceNESTAbstractWorkflowModifier
-
insertNewNode
public <t extends NESTNodeObject> t insertNewNode(String nodeClassName, DataObject semanticDescriptor)
- Specified by:
insertNewNodein interfaceNESTGraphModifier- Overrides:
insertNewNodein classNESTGraphModifierImpl<G extends NESTAbstractWorkflowObject>- Parameters:
nodeClassName- StringsemanticDescriptor- DataObject- Returns:
- NESTNodeObject
-
insertNewNode
public <t extends NESTNodeObject> t insertNewNode(String nodeClassName, NESTNodeObject parentWorkflowNode, DataObject semanticDescriptor, DataObject partOfEdgeSemanticDescriptor)
- Specified by:
insertNewNodein interfaceNESTAbstractWorkflowModifier- Parameters:
nodeClassName- StringparentWorkflowNode- NESTNodeObjectsemanticDescriptor- DataObject- Returns:
- NESTNodeObject
-
insertNewEdge
public <t extends NESTEdgeObject> t insertNewEdge(NESTNodeObject pre, NESTNodeObject post, String edgeClassName, DataObject semanticDescriptor)
Creates a new edge of the given class with a unique id and inserts it in the nest graph between the given nodes. The constraints for edges in NEST workflow graphs are considered in this method.- Specified by:
insertNewEdgein interfaceNESTGraphModifier- Overrides:
insertNewEdgein classNESTGraphModifierImpl<G extends NESTAbstractWorkflowObject>- Parameters:
pre- NESTNodeObjectpost- NESTNodeObjectedgeClassName- StringsemanticDescriptor- Semantic Descriptor for edge- Returns:
- NESTEdgeObject
-
insertNewWorkflowNode
public NESTWorkflowNodeObject insertNewWorkflowNode(DataObject semanticDescriptor)
Description copied from interface:NESTAbstractWorkflowModifierCreates a new workflow node within the graph with the given semantic description.- Specified by:
insertNewWorkflowNodein interfaceNESTAbstractWorkflowModifier- Parameters:
semanticDescriptor- The semantic description of the new node.- Returns:
-
insertNewWorkflowNode
public NESTWorkflowNodeObject insertNewWorkflowNode(String workflowNodeClassName, DataObject semanticDescriptor)
Description copied from interface:NESTAbstractWorkflowModifierCreates a new workflow node within the graph with the given semantic description.- Specified by:
insertNewWorkflowNodein interfaceNESTAbstractWorkflowModifier- Parameters:
workflowNodeClassName- The name of the custom workflow node classsemanticDescriptor- The semantic description of the new node.- Returns:
-
insertNewTaskNode
public NESTTaskNodeObject insertNewTaskNode(DataObject semanticDescriptor)
Description copied from interface:NESTAbstractWorkflowModifierCreates a new task node within the graph with the given semantic description and links it to the workflow node via part-of edge.- Specified by:
insertNewTaskNodein interfaceNESTAbstractWorkflowModifier- Parameters:
semanticDescriptor- The semantic description of the new node.- Returns:
-
insertNewTaskNode
public NESTTaskNodeObject insertNewTaskNode(String taskNodeClassName, DataObject semanticDescriptor)
Description copied from interface:NESTAbstractWorkflowModifierCreates a new task node within the graph with the given semantic description and links it to the workflow node via part-of edge.- Specified by:
insertNewTaskNodein interfaceNESTAbstractWorkflowModifier- Parameters:
taskNodeClassName- The name of the custom task node classsemanticDescriptor- The semantic description of the new node.- Returns:
-
insertNewDataNode
public NESTDataNodeObject insertNewDataNode(DataObject semanticDescriptor)
Description copied from interface:NESTAbstractWorkflowModifierCreates a new data node within the graph with the given semantic description and links it to the workflow node via part-of edge.- Specified by:
insertNewDataNodein interfaceNESTAbstractWorkflowModifier- Parameters:
semanticDescriptor- The semantic description of the new node.- Returns:
-
insertNewDataNode
public NESTDataNodeObject insertNewDataNode(String dataNodeClassName, DataObject semanticDescriptor)
Description copied from interface:NESTAbstractWorkflowModifierCreates a new data node within the graph with the given semantic description and links it to the workflow node via part-of edge.- Specified by:
insertNewDataNodein interfaceNESTAbstractWorkflowModifier- Parameters:
dataNodeClassName- The name of the custom task node classsemanticDescriptor- The semantic description of the new node.- Returns:
-
removeUnproductiveTasks
public void removeUnproductiveTasks()
Description copied from interface:NESTAbstractWorkflowModifierRemoves unproductive task nodes, i.e., tasks that do not have any ingoing or outgoing data-flow edges- Specified by:
removeUnproductiveTasksin interfaceNESTAbstractWorkflowModifier
-
removeUnusedDataObjects
public void removeUnusedDataObjects()
Description copied from interface:NESTAbstractWorkflowModifierRemoves unused data objects i.e. they have no ingoing and outgoing edges.- Specified by:
removeUnusedDataObjectsin interfaceNESTAbstractWorkflowModifier
-
dropBlockSequenceNode
public boolean dropBlockSequenceNode(String id)
Description copied from interface:NESTAbstractWorkflowModifierRemoves a sequence node from the nest graph and performs the necessary changes on the part-of and control-flow edges.- Specified by:
dropBlockSequenceNodein interfaceNESTAbstractWorkflowModifier- Returns:
-
dropBlockSequenceNode
public boolean dropBlockSequenceNode(NESTNodeObject nodeObject)
Description copied from interface:NESTAbstractWorkflowModifierRemoves a sequence node from the nest graph and performs the necessary changes on the part-of and control-flow edges.- Specified by:
dropBlockSequenceNodein interfaceNESTAbstractWorkflowModifier- Returns:
-
removeSubgraph
public void removeSubgraph(NESTWorkflowObject subgraphToRemove)
Description copied from interface:NESTAbstractWorkflowModifierRemoves the given subgraph from the parent graph.- Specified by:
removeSubgraphin interfaceNESTAbstractWorkflowModifier- Parameters:
subgraphToRemove- the subgraph that should be removed
-
insertNewControlflowEdge
public NESTEdgeObject insertNewControlflowEdge(NESTSequenceNodeObject preNode, NESTSequenceNodeObject postNode, DataObject semanticDescriptor)
Description copied from interface:NESTAbstractWorkflowModifierAdds a controlflow edge between the given graph nodes.- Specified by:
insertNewControlflowEdgein interfaceNESTAbstractWorkflowModifier- Parameters:
preNode- The node on the left (previous) side of the edge.postNode- The node on the right (next) side of the edge.
-
insertNewDataflowEdge
public NESTEdgeObject insertNewDataflowEdge(NESTNodeObject preNode, NESTNodeObject postNode, DataObject semanticDescriptor)
Description copied from interface:NESTAbstractWorkflowModifierInserts a new dataflow edge between the given graph nodes.- Specified by:
insertNewDataflowEdgein interfaceNESTAbstractWorkflowModifier- Parameters:
preNode- The node on the left (previous) side of the edge.postNode- The node on the right (next) side of the edge.
-
insertNewPartOfEdge
public NESTEdgeObject insertNewPartOfEdge(NESTNodeObject preNode, NESTNodeObject postNode, DataObject semanticDescriptor)
Description copied from interface:NESTAbstractWorkflowModifierInserts a new part-of edge between the given graph nodes.- Specified by:
insertNewPartOfEdgein interfaceNESTAbstractWorkflowModifier- Parameters:
preNode- The node on the left (previous) side of the edge.postNode- The node on the right (next) side of the edge.
-
insertNewConstraintEdge
public NESTEdgeObject insertNewConstraintEdge(NESTNodeObject preNode, NESTNodeObject postNode, DataObject semanticDescriptor)
Description copied from interface:NESTAbstractWorkflowModifierInserts a new constraint edge between the given graph nodes.- Specified by:
insertNewConstraintEdgein interfaceNESTAbstractWorkflowModifier- Parameters:
preNode- The node on the left (previous) side of the edge.postNode- The node on the right (next) side of the edge.
-
insertNewSubWorkflowNode
public NESTSubWorkflowNodeObject insertNewSubWorkflowNode(NESTNodeObject parentWorkflowNode, DataObject semanticDescriptor)
Description copied from interface:NESTAbstractWorkflowModifierInserts a new subworkflow node in the nest graph. The new node will be linked to the given parent workflow node by a part-of edge. A parent node can be either a workflow or a subworkflow node.- Specified by:
insertNewSubWorkflowNodein interfaceNESTAbstractWorkflowModifier- Returns:
-
removeControlflowEdge
public void removeControlflowEdge(NESTNodeObject preNode, NESTNodeObject postNode)
Description copied from interface:NESTAbstractWorkflowModifierRemoves the controlflow-edge between the given graph nodes.- Specified by:
removeControlflowEdgein interfaceNESTAbstractWorkflowModifier- Parameters:
preNode- The node on the left (previous) side of the edge.postNode- The node on the right (next) side of the edge.
-
removeDataflowEdge
public void removeDataflowEdge(NESTNodeObject preNode, NESTNodeObject postNode)
Description copied from interface:NESTAbstractWorkflowModifierRemoves the dataflow-edge between the given graph nodes.- Specified by:
removeDataflowEdgein interfaceNESTAbstractWorkflowModifier- Parameters:
preNode- The node on the left (previous) side of the edge.postNode- The node on the right (next) side of the edge.
-
removeDataNode
public boolean removeDataNode(NESTDataNodeObject dataNode)
Description copied from interface:NESTAbstractWorkflowModifierRemoves a semantic equal node of the given node from the graph.- Specified by:
removeDataNodein interfaceNESTAbstractWorkflowModifier- Returns:
-
removeTaskNode
public boolean removeTaskNode(NESTTaskNodeObject taskNode)
Description copied from interface:NESTAbstractWorkflowModifierRemoves a semantic equal node of the given node from the graph.- Specified by:
removeTaskNodein interfaceNESTAbstractWorkflowModifier- Returns:
-
removeSubWorkflowNode
public boolean removeSubWorkflowNode(NESTSubWorkflowNodeObject subWorkflowNode)
Description copied from interface:NESTAbstractWorkflowModifierRemoves the given node from the graph and adjusts the part-of hierarchy accordingly.- Specified by:
removeSubWorkflowNodein interfaceNESTAbstractWorkflowModifier- Returns:
-
insertSubgraph
public Map<String,String> insertSubgraph(NESTAbstractWorkflowObject subgraphToInsert, NESTSequenceNodeObject preNode, NESTSequenceNodeObject postNode, NESTNodeObject parentNode)
Description copied from interface:NESTAbstractWorkflowModifierAdds a given sub-graph into a target graph this modifier is responsible for. A parent node (of the target graph) can be set. Otherwise, the workflow node of the target workflow is used as parent node The pre node and the post node are nodes that will be connected to the start node or the end node, respectively. All nodes and edges of the sub-graph will be copied into the target graph. Consequently, the ids will be altered! A map that contains the old-to-new-mapping-ID's is returned by this method.- Specified by:
insertSubgraphin interfaceNESTAbstractWorkflowModifier- Parameters:
subgraphToInsert- the sub-graph that should be added to the target graphpreNode- node of the target graph; this node will be connected to the start node of the sub-graph with a control-flow edge. If preNode is null, no control-flow edge is inserted.postNode- node of the target graph; the end node of the sub-graph will be connected to this node with a control-flow edge. If postNode is null, no control-flow edge is inserted.parentNode- workflow node or sub-workflow node of the target graph; all nodes that were previously connected to the workflow node of the sub-graph will be linked to the parent node via part-of edges. If parentNode is null, the workflow node of the target workflow is used as parent node.- Returns:
- a map that contains the old-to-new-mapping-ID's
-
insertSubgraphEdges
protected void insertSubgraphEdges(NESTGraphObject subgraphToInsert, Map<String,String> oldToNewIDMapping, NESTNodeObject parentNode)
Partial method used for methodinsertSubgraph(NESTAbstractWorkflowObject, NESTSequenceNodeObject, NESTSequenceNodeObject, NESTNodeObject)and it's submethods to insert edges from subgraph.- Parameters:
subgraphToInsert-oldToNewIDMapping-parentNode-
-
checkPrePostNodes
protected void checkPrePostNodes(NESTAbstractWorkflowObject subgraphToInsert, Map<String,String> oldToNewIDMapping, NESTSequenceNodeObject preNode, NESTSequenceNodeObject postNode)
Partial method used for methodinsertSubgraph(NESTAbstractWorkflowObject, NESTSequenceNodeObject, NESTSequenceNodeObject, NESTNodeObject)and it's submethods to check pre and post nodes.- Parameters:
subgraphToInsert-oldToNewIDMapping-preNode-postNode-
-
initializeDefaultClassNames
protected void initializeDefaultClassNames(NESTAbstractWorkflowObject graph)
-
-