public class AggregationInstance extends Aggregation
mLayoutmMembers, mName, mVersion| Constructor and Description |
|---|
AggregationInstance() |
AggregationInstance(String name) |
AggregationInstance(String name,
Integer version) |
| Modifier and Type | Method and Description |
|---|---|
AggregationMember |
addMember(ItemPath itemPath,
CastorHashMap props,
String classProps,
GraphPoint location,
int w,
int h,
TransactionKey transactionKey) |
AggregationMember |
addMember(ItemPath itemPath,
CastorHashMap props,
String classProps,
TransactionKey transactionKey)
Add a member to this collection, with the given property and class properties and optionally an Item to assign, which may be null if
the collection allows empty slots.
|
addMember, addSlot, addSlot, exists, getIsComposite, getLayout, getMemberPair, getVertexTypeNameAndConstructionInfo, removeMember, setLayoutcontains, equals, getClusterPath, getClusterType, getCounter, getDescVer, getMember, getMembers, getName, getVersion, getVersionName, hashCode, isFull, resolveMembers, resolveMembers, setMembers, setName, setVersion, sizeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitenforceValidNamepublic AggregationInstance()
public AggregationInstance(String name)
public AggregationMember addMember(ItemPath itemPath, CastorHashMap props, String classProps, TransactionKey transactionKey) throws InvalidCollectionModification, ObjectAlreadyExistsException
CollectionaddMember in class AggregationitemPath - the Item to assign to the new slot. Optional for collections that allow empty slotsprops - the Properties of the new memberclassProps - the names of the properties that dictate the type of assigned Items.InvalidCollectionModification - when the assignment was invalid because of collection constraints, such as global type constraints, or not allowing empty
slots.ObjectAlreadyExistsException - some collections don't allow multiple slots assigned to the same Item, and throw this Exception if it is attemptedpublic AggregationMember addMember(ItemPath itemPath, CastorHashMap props, String classProps, GraphPoint location, int w, int h, TransactionKey transactionKey) throws InvalidCollectionModification, ObjectAlreadyExistsException
addMember in class AggregationInvalidCollectionModificationObjectAlreadyExistsExceptionCopyright © 1997–2022 CRISTAL-iSE. All rights reserved.