public class AggregationInstance extends Aggregation
mLayoutEMPTY, mMembers, mName, mVersion| Constructor and Description |
|---|
AggregationInstance() |
AggregationInstance(String name) |
| Modifier and Type | Method and Description |
|---|---|
AggregationMember |
addMember(ItemPath itemPath,
CastorHashMap props,
String classProps)
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.
|
AggregationMember |
addMember(ItemPath itemPath,
CastorHashMap props,
String classProps,
GraphPoint location,
int w,
int h) |
addMember, addSlot, addSlot, exists, getIsComposite, getLayout, getMemberPair, getVertexTypeNameAndConstructionInfo, removeMember, setLayoutcontains, equals, getClusterType, getCounter, getDescVer, getMember, getMembers, getName, getVersion, getVersionName, hashCode, isFull, setMembers, setName, setVersion, sizepublic AggregationInstance()
public AggregationInstance(String name)
public AggregationMember addMember(ItemPath itemPath, CastorHashMap props, String classProps) 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) throws InvalidCollectionModification, ObjectAlreadyExistsException
addMember in class AggregationInvalidCollectionModificationObjectAlreadyExistsExceptionCopyright © 1997–2016 CRISTAL-iSE. All rights reserved.