Interface SubWorkflowObject
- All Superinterfaces:
AbstractWorkflowItemObject
,ControlflowItemObject
,DataObject
,ParentItemObject<SequencedObject>
,PropertyHandler
,SequencedObject
,StatusableObject
,WorkflowObject
public interface SubWorkflowObject
extends ParentItemObject<SequencedObject>, SequencedObject, WorkflowObject
Interface of a subworkflow-object. Used in the controlflow of a workflow and subworkflow. Similar
to a workflow-object but doesn't contain data-objects.
- Author:
- Christian Zeyen
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.uni_trier.wi2.procake.data.object.wf.StatusableObject
StatusableObject.STATES
Nested classes/interfaces inherited from interface de.uni_trier.wi2.procake.data.object.wf.WorkflowObject
WorkflowObject.GRAPHTYPE
-
Method Summary
Modifier and TypeMethodDescriptionReturns all tasks from the subworkflowgetModel()
Returns the first sequence of the subworkflow.Returns the main sequence of the subworkflow.void
setSequence
(SequenceObject sequence) Sets the main sequence of the subworkflow.Methods inherited from interface de.uni_trier.wi2.procake.data.object.wf.AbstractWorkflowItemObject
getSemanticDescriptor, getWFItemId, getWorkflow, setSemanticDescriptor, setWFItemId, setWorkflow
Methods inherited from interface de.uni_trier.wi2.procake.data.object.wf.ControlflowItemObject
getNextSibling, getParent, getPreviousSibling, insertAfterMe, insertBeforeMe
Methods inherited from interface de.uni_trier.wi2.procake.data.object.DataObject
assertSameValueAsIn, copy, getDataClass, getId, hasClassName, hasSameValueAsIn, hasSystemClassName, isAggregate, isAtomic, isBoolean, isByteArray, isChronologic, isCollection, isDataflowWrapper, isDataReference, isDate, isDouble, isInteger, isInterval, isKindOf, isList, isMemberOf, isNESTConstraintEdge, isNESTControlflowEdge, isNESTControlflowNode, isNESTDataflowEdge, isNESTDataNode, isNESTEdge, isNESTGraph, isNESTNode, isNESTPartOfEdge, isNESTSequenceNode, isNESTSequentialWorkflow, isNESTSubWorkflowNode, isNESTTaskNode, isNESTWorkflow, isNESTWorkflowNode, isNode, isNumeric, isSequence, isSet, isString, isSubWorkflow, isTask, isTime, isTimestamp, isUnion, isURI, isVoid, isWorkflow, removeId, setDataClass, setId, toDetailedString, toXML
Methods inherited from interface de.uni_trier.wi2.procake.data.object.wf.ParentItemObject
addItem, deepSearchItem, getFirstItem, getItem, getItems, getNextSibling, getPreviousSibling, insertAfter, insertBefore, removeItem
Methods inherited from interface de.uni_trier.wi2.procake.data.PropertyHandler
addProperty, addProperty, getAllProperties, getAllPropertyNodes, getProperty, getPropertyNames, getPropertyNode, getPropertyRootNode, hasProperties, removeProperty, setPropertyRootNode
Methods inherited from interface de.uni_trier.wi2.procake.data.object.wf.StatusableObject
getStatus, setStatus
Methods inherited from interface de.uni_trier.wi2.procake.data.object.wf.WorkflowObject
addDataObject, enableGraph, getAtomicDataObjects, getDataObject, getDataObjects, getEventListeners, getGraph, registerEventListener, removeDataObject, unregisterEventListener
-
Method Details
-
getSequence
SequenceObject getSequence()Returns the main sequence of the subworkflow.- Specified by:
getSequence
in interfaceWorkflowObject
-
setSequence
Sets the main sequence of the subworkflow.- Specified by:
setSequence
in interfaceWorkflowObject
-
getModel
Model getModel()Returns the first sequence of the subworkflow. In many cases a subworkflow does only have one sequence. This method is just a shortcut for getting all sequences and fetching the first of those.- Specified by:
getModel
in interfaceDataObject
- Specified by:
getModel
in interfaceWorkflowObject
- Returns:
- If available, first sequence of the subworkflow; NULL otherwise.
-
getAllTasks
Set<TaskObject> getAllTasks()Returns all tasks from the subworkflow- Specified by:
getAllTasks
in interfaceWorkflowObject
- Returns:
-