public class DependencyMember extends Object implements CollectionMember
| Constructor and Description |
|---|
DependencyMember() |
| Modifier and Type | Method and Description |
|---|---|
void |
assignItem(ItemPath itemPath)
Assign the given item to the slot, if it fits
|
void |
clearItem()
De-assign the slot, leaving it empty.
|
String |
getChildUUID()
Returns the UUID of the currently assigned Item
|
String |
getClassProps()
Gets the class properties, which specify type information in child Items.
|
int |
getID()
Get the integer slot ID, as generated by the parent Collection
|
ItemPath |
getItemPath()
Returns the current assigned ItemPath
|
KeyValuePair[] |
getKeyValuePairs() |
CastorHashMap |
getProperties()
Gets the member properties.
|
ItemProxy |
resolveItem()
Resolve the Item currently assigned
|
void |
setChildUUID(String uuid) |
void |
setClassProps(String props) |
void |
setID(int id) |
void |
setKeyValuePairs(KeyValuePair[] pairs) |
void |
setProperties(CastorHashMap props) |
public ItemPath getItemPath()
CollectionMembergetItemPath in interface CollectionMemberpublic void setProperties(CastorHashMap props)
public CastorHashMap getProperties()
CollectionMembergetProperties in interface CollectionMemberpublic KeyValuePair[] getKeyValuePairs()
public void setKeyValuePairs(KeyValuePair[] pairs)
public int getID()
CollectionMembergetID in interface CollectionMemberpublic void setID(int id)
public void setClassProps(String props)
public String getClassProps()
CollectionMembergetClassProps in interface CollectionMemberpublic void assignItem(ItemPath itemPath) throws InvalidCollectionModification
CollectionMemberassignItem in interface CollectionMemberitemPath - The item to assignInvalidCollectionModificationpublic void clearItem()
CollectionMemberclearItem in interface CollectionMemberpublic ItemProxy resolveItem() throws ObjectNotFoundException
CollectionMemberresolveItem in interface CollectionMemberObjectNotFoundException - When emptypublic void setChildUUID(String uuid) throws InvalidCollectionModification, InvalidItemPathException
public String getChildUUID()
CollectionMembergetChildUUID in interface CollectionMemberCopyright © 1997–2016 CRISTAL-iSE. All rights reserved.