Interface DataReferenceObject
- All Superinterfaces:
AbstractWorkflowItemObject
,DataObject
,PropertyHandler
- All Known Implementing Classes:
DataReferenceObjectImpl
Interface of a reference between a task and a data item. Since July 2012 data references can
carry semantic descriptions, which provide additional information when the task uses/produces a
data item. This contextual information about the dataitem can be something like the amount of
gramm used for this specific task, whereas the general specification of the data item does not
contain any quantity-information at all, OR contains a higher quantity.
WFItemID of a DataRef-Object is not used.
- Author:
- Alexander Stromer
-
Method Summary
Modifier and TypeMethodDescriptionReturns the stored reference to the dataitem.Returns the current internal stored data item ID.void
setDataItem
(DataflowWrapperObject dataItem) Sets the given reference to the internal storage of the data item.void
setDataItemID
(String dataItemID) Sets a specific dataItemID to be stored internally.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.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
-
Method Details
-
getDataItem
DataflowWrapperObject getDataItem()Returns the stored reference to the dataitem.- Returns:
-
setDataItem
Sets the given reference to the internal storage of the data item. If a data item is set, the dataitemID will automatically update to the ID of this referred dataitem.- Parameters:
dataItem
-
-
getDataItemID
String getDataItemID()Returns the current internal stored data item ID.- Returns:
-
setDataItemID
Sets a specific dataItemID to be stored internally.- Parameters:
dataItemID
-
-