T - The type of the model elements in the collectionpublic interface ChildElementCollection<T extends ModelElementInstance>
A collection containing all or a subset of the child
elements of a given ModelElementInstance.
| Modifier and Type | Method and Description |
|---|---|
Collection<T> |
get(ModelElementInstance element)
returns a
Collection containing all or a subset of the child elements of
a ModelElementInstance. |
ModelElementType |
getChildElementType(Model model)
Get the model element type of the elements contained in this collection.
|
Class<T> |
getChildElementTypeClass()
Get the class of the elements contained in this collection.
|
int |
getMaxOccurs()
Indicates the max element count of a collection.
|
int |
getMinOccurs()
Indicates the minimal element count of a collection.
|
ModelElementType |
getParentElementType()
Get the model element type of the element owns the collection
|
boolean |
isImmutable()
Indicates whether the collection is immutable.
|
boolean isImmutable()
Collection.add(Object) or Collection.remove(Object)
will throw an UnsupportedOperationException.int getMinOccurs()
int getMaxOccurs()
ModelElementType getChildElementType(Model model)
model - the model of the elementModelElementTypeClass<T> getChildElementTypeClass()
ModelElementType getParentElementType()
Collection<T> get(ModelElementInstance element)
Collection containing all or a subset of the child elements of
a ModelElementInstance.Copyright © 2021. All rights reserved.