public class ChildElementCollectionBuilderImpl<T extends ModelElementInstance> extends Object implements ChildElementCollectionBuilder<T>, ModelBuildOperation
Modifier and Type | Field and Description |
---|---|
protected Class<T> |
childElementType |
protected ModelElementTypeImpl |
parentElementType
The
ModelElementType of the element containing the collection |
Constructor and Description |
---|
ChildElementCollectionBuilderImpl(Class<T> childElementTypeClass,
ModelElementType parentElementType) |
Modifier and Type | Method and Description |
---|---|
ChildElementCollection<T> |
build() |
protected ChildElementCollectionImpl<T> |
createCollectionInstance() |
<V extends ModelElementInstance> |
idElementReferenceCollection(Class<V> referenceTargetType) |
<V extends ModelElementInstance> |
idsElementReferenceCollection(Class<V> referenceTargetType) |
ChildElementCollectionBuilder<T> |
immutable() |
ChildElementCollectionBuilder<T> |
maxOccurs(int i) |
ChildElementCollectionBuilder<T> |
minOccurs(int i) |
void |
performModelBuild(Model model) |
<V extends ModelElementInstance> |
qNameElementReferenceCollection(Class<V> referenceTargetType) |
ChildElementCollectionBuilder<T> |
required() |
protected void |
setReferenceBuilder(ElementReferenceCollectionBuilder<?,?> referenceBuilder) |
<V extends ModelElementInstance> |
uriElementReferenceCollection(Class<V> referenceTargetType) |
protected final ModelElementTypeImpl parentElementType
ModelElementType
of the element containing the collectionprotected final Class<T extends ModelElementInstance> childElementType
public ChildElementCollectionBuilderImpl(Class<T> childElementTypeClass, ModelElementType parentElementType)
protected ChildElementCollectionImpl<T> createCollectionInstance()
public ChildElementCollectionBuilder<T> immutable()
immutable
in interface ChildElementCollectionBuilder<T extends ModelElementInstance>
public ChildElementCollectionBuilder<T> required()
required
in interface ChildElementCollectionBuilder<T extends ModelElementInstance>
public ChildElementCollectionBuilder<T> maxOccurs(int i)
maxOccurs
in interface ChildElementCollectionBuilder<T extends ModelElementInstance>
public ChildElementCollectionBuilder<T> minOccurs(int i)
minOccurs
in interface ChildElementCollectionBuilder<T extends ModelElementInstance>
public ChildElementCollection<T> build()
build
in interface ChildElementCollectionBuilder<T extends ModelElementInstance>
public <V extends ModelElementInstance> ElementReferenceCollectionBuilder<V,T> qNameElementReferenceCollection(Class<V> referenceTargetType)
qNameElementReferenceCollection
in interface ChildElementCollectionBuilder<T extends ModelElementInstance>
public <V extends ModelElementInstance> ElementReferenceCollectionBuilder<V,T> idElementReferenceCollection(Class<V> referenceTargetType)
idElementReferenceCollection
in interface ChildElementCollectionBuilder<T extends ModelElementInstance>
public <V extends ModelElementInstance> ElementReferenceCollectionBuilder<V,T> idsElementReferenceCollection(Class<V> referenceTargetType)
idsElementReferenceCollection
in interface ChildElementCollectionBuilder<T extends ModelElementInstance>
public <V extends ModelElementInstance> ElementReferenceCollectionBuilder<V,T> uriElementReferenceCollection(Class<V> referenceTargetType)
uriElementReferenceCollection
in interface ChildElementCollectionBuilder<T extends ModelElementInstance>
protected void setReferenceBuilder(ElementReferenceCollectionBuilder<?,?> referenceBuilder)
public void performModelBuild(Model model)
performModelBuild
in interface ModelBuildOperation
Copyright © 2017. All rights reserved.