Class DataReferenceObjectImpl
java.lang.Object
de.uni_trier.wi2.procake.data.object.impl.DataObjectImpl
de.uni_trier.wi2.procake.data.object.wf.impl.AbstractWorkflowItemObjectImpl
de.uni_trier.wi2.procake.data.object.wf.impl.DataReferenceObjectImpl
- All Implemented Interfaces:
DataObject
,AbstractWorkflowItemObject
,DataReferenceObject
,PropertyHandler
public class DataReferenceObjectImpl
extends AbstractWorkflowItemObjectImpl
implements DataReferenceObject
Data-reference used to link tasks with dataitems. CAKE III - Extension. Refer to the
corresponding Interface
DataReferenceObject
for more information.- Author:
- Alexander Stromer
-
Field Summary
Fields inherited from class de.uni_trier.wi2.procake.data.object.wf.impl.AbstractWorkflowItemObjectImpl
workflow
Fields inherited from class de.uni_trier.wi2.procake.data.object.impl.DataObjectImpl
objectId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
distributeWorkflowObject
(WorkflowObject workflow) Informs all subWorkflowObjects about getting a new workflow-items.Returns 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 class de.uni_trier.wi2.procake.data.object.wf.impl.AbstractWorkflowItemObjectImpl
assertSameValueAsIn, getSemanticDescriptor, getWFItemId, getWorkflow, hasSameValueAsIn, publishAddItem, publishRemoveItem, setSemanticDescriptor, setWFItemId, setWorkflow
Methods inherited from class de.uni_trier.wi2.procake.data.object.impl.DataObjectImpl
addProperty, addProperty, copy, deepCopy, getAllProperties, getAllPropertyNodes, getDataClass, getId, getModel, getProperty, getPropertyNames, getPropertyNode, getPropertyRootNode, hasClassName, hasProperties, 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, removeProperty, setDataClass, setId, setPropertyRootNode, toDetailedString, toString, toXML
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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
-
Constructor Details
-
DataReferenceObjectImpl
Standard constructor- Parameters:
dataClass
-
-
-
Method Details
-
getDataItem
Description copied from interface:DataReferenceObject
Returns the stored reference to the dataitem.- Specified by:
getDataItem
in interfaceDataReferenceObject
- Returns:
-
setDataItem
Description copied from interface:DataReferenceObject
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.- Specified by:
setDataItem
in interfaceDataReferenceObject
-
getDataItemID
Description copied from interface:DataReferenceObject
Returns the current internal stored data item ID.- Specified by:
getDataItemID
in interfaceDataReferenceObject
- Returns:
-
setDataItemID
Description copied from interface:DataReferenceObject
Sets a specific dataItemID to be stored internally.- Specified by:
setDataItemID
in interfaceDataReferenceObject
-
distributeWorkflowObject
Description copied from class:AbstractWorkflowItemObjectImpl
Informs all subWorkflowObjects about getting a new workflow-items.- Specified by:
distributeWorkflowObject
in classAbstractWorkflowItemObjectImpl
-