Interface TaskObject
-
- All Superinterfaces:
AbstractWorkflowItemObject,ControlflowItemObject,DataObject,PropertyHandler,SequencedObject,StatusableObject
- All Known Implementing Classes:
TaskObjectImpl
public interface TaskObject extends ControlflowItemObject, SequencedObject
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 Modifier and Type Interface Description static classTaskObject.TYPESPossible types of a workflow.-
Nested classes/interfaces inherited from interface de.uni_trier.wi2.procake.data.object.wf.StatusableObject
StatusableObject.STATES
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddInputDataflowRef(DataReferenceObject newInputObject)Adds a dataobject to the list of input-dataobjects.voidaddInputDataflowRef(String newInputId)Adds a dataobject to the list of input-dataobjects.voidaddOutputDataflowRef(DataReferenceObject newOutputObject)Adds a dataobject to the list of output-dataobjects.voidaddOutputDataflowRef(String newOutputId)Adds a dataobject to the list of output-dataobjects.DataReferenceObjectgetInputDataflow(String id)Returns the input-dataobject with the given id.List<String>getInputDataflowIDs()Returns the list of IDs of input-dataobjects.List<DataReferenceObject>getInputDataflowRefs()Returns the list of input-dataobjects.DataReferenceObjectgetOutputDataflow(String id)Returns the output-dataobject with the given id.List<String>getOutputDataflowIDs()Returns the list of IDs of output.dataobjects.List<DataReferenceObject>getOutputDataflowRefs()Returns the list of output-dataobjects.TaskObject.TYPESgetType()Returns the type of the task.booleanremoveInputDataflowRef(String id)Removes the input-dataobject with the given id from the list.booleanremoveOutputDataflowRef(String id)Removes the output-dataobject with the given id from the list.voidsetType(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
-
Methods inherited from interface de.uni_trier.wi2.procake.data.object.wf.StatusableObject
getStatus, setStatus
-
-
-
-
Method Detail
-
getType
TaskObject.TYPES getType()
Returns the type of the task.- Returns:
- Type of the task.
-
setType
void setType(TaskObject.TYPES type)
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
List<String> 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
List<String> getOutputDataflowIDs()
Returns the list of IDs of output.dataobjects.
-
addInputDataflowRef
void addInputDataflowRef(DataReferenceObject newInputObject)
Adds a dataobject to the list of input-dataobjects.- Parameters:
newInputObject- New input-dataobject.
-
addOutputDataflowRef
void addOutputDataflowRef(DataReferenceObject newOutputObject)
Adds a dataobject to the list of output-dataobjects.- Parameters:
newOutputObject- New output-dataobject.
-
addInputDataflowRef
void addInputDataflowRef(String newInputId)
Adds a dataobject to the list of input-dataobjects.- Parameters:
newInputId- The Id of the data-object.
-
addOutputDataflowRef
void addOutputDataflowRef(String newOutputId)
Adds a dataobject to the list of output-dataobjects.- Parameters:
newOutputId- The Id of the data-object.
-
removeInputDataflowRef
boolean removeInputDataflowRef(String id)
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
boolean removeOutputDataflowRef(String id)
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
DataReferenceObject getInputDataflow(String id)
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
DataReferenceObject getOutputDataflow(String id)
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.
-
-