public abstract class IModelCollectionProperty extends IModelRefProperty
TYPE_BOOLEAN, TYPE_CODE_SIGNATURE, TYPE_COMPOSITE_MODEL, TYPE_COMPOSITE_MODEL_COLLECTION, TYPE_END_RELATIONSHIP, TYPE_HTML_STRING, TYPE_INT, TYPE_MODEL, TYPE_MODEL_COLLECTION, TYPE_PARENT_MODEL, TYPE_RELATIONSHIP_END, TYPE_STRING, TYPE_STRING_ARRAY, TYPE_STRING_SELECTION, TYPE_TEXT_MODEL, TYPE_TRANSIT_FROM, TYPE_TRANSIT_TO
Constructor and Description |
---|
IModelCollectionProperty(java.lang.String name,
char type,
IModelElement owner) |
Modifier and Type | Method and Description |
---|---|
abstract void |
addValue(IModelElement value) |
abstract java.util.Iterator |
getValueAsIterator() |
abstract IModelElement[] |
getValueAsModelArray() |
abstract IModelElement |
getValueByIndex(int index) |
abstract void |
removeValue(IModelElement value) |
abstract void |
removeValueByIndex(int index) |
abstract int |
valueCount() |
getAllowModelTypes
checkAllowModify, getName, getOwner, getType, getValue, getValueAsBoolean, getValueAsInt, getValueAsModel, getValueAsModelCollection, getValueAsString, getValueAsStringArray, isAllowModify, setValue, setValue, setValue, setValue, setValue, setValue
public IModelCollectionProperty(java.lang.String name, char type, IModelElement owner)
public abstract void addValue(IModelElement value)
public abstract void removeValue(IModelElement value)
public abstract IModelElement getValueByIndex(int index)
public abstract void removeValueByIndex(int index)
public abstract int valueCount()
public abstract IModelElement[] getValueAsModelArray()
public abstract java.util.Iterator getValueAsIterator()