Interface TaskObject
- All Superinterfaces:
AbstractWorkflowItemObject
,ControlflowItemObject
,DataObject
,PropertyHandler
,SequencedObject
,StatusableObject
- All Known Implementing Classes:
TaskObjectImpl
Interface of a workflowleaf-object used in the controlflow of a workflow. CAKE III - Extension.
Represents a task.
- Author:
- Sebastian Goerg
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.uni_trier.wi2.procake.data.object.wf.StatusableObject
StatusableObject.STATES
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addInputDataflowRef
(DataReferenceObject newInputObject) Adds a dataobject to the list of input-dataobjects.void
addInputDataflowRef
(String newInputId) Adds a dataobject to the list of input-dataobjects.void
addOutputDataflowRef
(DataReferenceObject newOutputObject) Adds a dataobject to the list of output-dataobjects.void
addOutputDataflowRef
(String newOutputId) Adds a dataobject to the list of output-dataobjects.Returns the input-dataobject with the given id.Returns the list of IDs of input-dataobjects.Returns the list of input-dataobjects.Returns the output-dataobject with the given id.Returns the list of IDs of output.dataobjects.Returns the list of output-dataobjects.getType()
Returns the type of the task.boolean
Removes the input-dataobject with the given id from the list.boolean
Removes the output-dataobject with the given id from the list.void
setType
(TaskObject.TYPES type) Sets the type of the task.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, getModel, 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.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
-
Method Details
-
getType
TaskObject.TYPES getType()Returns the type of the task.- Returns:
- Type of the task.
-
setType
Sets the type of the task.- Parameters:
type
- Type of the task.
-
getInputDataflowRefs
List<DataReferenceObject> getInputDataflowRefs()Returns the list of input-dataobjects.- Returns:
- List of input-dataobjects.
-
getInputDataflowIDs
Returns the list of IDs of input-dataobjects. -
getOutputDataflowRefs
List<DataReferenceObject> getOutputDataflowRefs()Returns the list of output-dataobjects.- Returns:
- List of output-dataobjects.
-
getOutputDataflowIDs
Returns the list of IDs of output.dataobjects. -
addInputDataflowRef
Adds a dataobject to the list of input-dataobjects.- Parameters:
newInputObject
- New input-dataobject.
-
addOutputDataflowRef
Adds a dataobject to the list of output-dataobjects.- Parameters:
newOutputObject
- New output-dataobject.
-
addInputDataflowRef
Adds a dataobject to the list of input-dataobjects.- Parameters:
newInputId
- The Id of the data-object.
-
addOutputDataflowRef
Adds a dataobject to the list of output-dataobjects.- Parameters:
newOutputId
- The Id of the data-object.
-
removeInputDataflowRef
Removes the input-dataobject with the given id from the list.- Parameters:
id
- Id of the input-dataobject to remove.- Returns:
- TRUE if the removal was successful, FALSE otherwise.
-
removeOutputDataflowRef
Removes the output-dataobject with the given id from the list.- Parameters:
id
- Id of the output-dataobject to remove.- Returns:
- TRUE if the removal was successful, FALSE otherwise.
-
getInputDataflow
Returns the input-dataobject with the given id.- Parameters:
id
- Id of the input-dataobject to return.- Returns:
- The input-dataobject, if the object was found; NULL otherwise.
-
getOutputDataflow
Returns the output-dataobject with the given id.- Parameters:
id
- Id of the output-dataobject to return.- Returns:
- The output-dataobject, if the object was found; NULL otherwise.
-