Class CollectionObjectImpl
java.lang.Object
de.uni_trier.wi2.procake.data.object.impl.DataObjectImpl
de.uni_trier.wi2.procake.data.object.base.impl.CollectionObjectImpl
- All Implemented Interfaces:
CollectionObject
,DataObject
,PropertyHandler
- Direct Known Subclasses:
ListObjectImpl
,SetObjectImpl
- Author:
- Rainer Maximini
-
Field Summary
Fields inherited from class de.uni_trier.wi2.procake.data.object.impl.DataObjectImpl
objectId
Fields inherited from interface de.uni_trier.wi2.procake.data.object.base.CollectionObject
LOG_WRONG_ELEMENT_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAll
(Collection<? extends DataObject> collection) void
addValue
(DataObject value) boolean
contains
(DataObject valueToCheck) iterator()
void
removeValue
(DataObject value) int
size()
Returns a detailed String, if the output of the standard toString() method would be to long.toString()
Methods inherited from class de.uni_trier.wi2.procake.data.object.impl.DataObjectImpl
addProperty, addProperty, assertSameValueAsIn, copy, deepCopy, getAllProperties, getAllPropertyNodes, getDataClass, getId, getModel, getProperty, getPropertyNames, getPropertyNode, getPropertyRootNode, hasClassName, hasProperties, 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, removeProperty, setDataClass, setId, setPropertyRootNode, 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.base.CollectionObject
getCollection
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, 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
-
CollectionObjectImpl
-
-
Method Details
-
addValue
- Specified by:
addValue
in interfaceCollectionObject
- Throws:
ProCAKEInvalidTypeException
-
addAll
- Specified by:
addAll
in interfaceCollectionObject
- Throws:
ProCAKEInvalidTypeException
-
contains
- Specified by:
contains
in interfaceCollectionObject
-
getCollectionClass
- Specified by:
getCollectionClass
in interfaceCollectionObject
-
getValue
- Specified by:
getValue
in interfaceCollectionObject
- Parameters:
objectId
- The id of theDataObject
to return.- Returns:
- Returns the element with the specified object id or
null
if noDataObject
with this id exists.
-
iterator
- Specified by:
iterator
in interfaceCollectionObject
-
removeValue
- Specified by:
removeValue
in interfaceCollectionObject
-
size
public int size()- Specified by:
size
in interfaceCollectionObject
- Returns:
- the number of elements
-
toString
- Overrides:
toString
in classDataObjectImpl
-
toDetailedString
Description copied from interface:DataObject
Returns a detailed String, if the output of the standard toString() method would be to long.- Specified by:
toDetailedString
in interfaceDataObject
- Overrides:
toDetailedString
in classDataObjectImpl
- Returns:
-