Package org.cristalise.kernel.collection
Class AggregationDescription
java.lang.Object
org.cristalise.kernel.collection.Collection<AggregationMember>
org.cristalise.kernel.collection.Aggregation
org.cristalise.kernel.collection.AggregationDescription
- All Implemented Interfaces:
CollectionDescription<AggregationMember>,C2KLocalObject
public class AggregationDescription
extends Aggregation
implements CollectionDescription<AggregationMember>
The description of a Collection with a graph layout. Each slot is
instantiated empty in the resulting Aggregation, with ClassProps taken from
the PropertyDescription outcome of the description slot's referenced Item.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cristalise.kernel.collection.Collection
Collection.Cardinality, Collection.Type -
Field Summary
Fields inherited from class org.cristalise.kernel.collection.Aggregation
mLayoutFields inherited from class org.cristalise.kernel.collection.Collection
mMembers, mName, mVersion -
Constructor Summary
ConstructorsConstructorDescriptionAggregationDescription(String name) AggregationDescription(String name, Integer version) -
Method Summary
Modifier and TypeMethodDescriptionnewInstance(TransactionKey transactionKey) For each member get thePropertyDescriptionListof the member item and look for an explicit versionMethods inherited from class org.cristalise.kernel.collection.Aggregation
addMember, addMember, addMember, addSlot, addSlot, exists, getIsComposite, getLayout, getMemberPair, getVertexTypeNameAndConstructionInfo, removeMember, setLayoutMethods inherited from class org.cristalise.kernel.collection.Collection
contains, equals, getClusterPath, getClusterType, getCounter, getDescVer, getMember, getMember, getMembers, getName, getVersion, getVersionName, hashCode, isFull, removeMember, resolveMembers, resolveMembers, resolveMembers, setMembers, setName, setVersion, sizeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cristalise.kernel.entity.C2KLocalObject
getClusterPath, getClusterType, getName, setName
-
Constructor Details
-
AggregationDescription
public AggregationDescription() -
AggregationDescription
-
AggregationDescription
-
-
Method Details
-
newInstance
For each member get thePropertyDescriptionListof the member item and look for an explicit version- Specified by:
newInstancein interfaceCollectionDescription<AggregationMember>- Parameters:
transactionKey- the key of the current transaction- Returns:
- a new collection instance
- Throws:
ObjectNotFoundException- When an essential piece of description data, such as a child Item PropertyDescription outcome, doesn't exist.
-