Class ChildElementCollectionBuilderImpl<T extends ModelElementInstance>
- java.lang.Object
-
- org.camunda.bpm.model.xml.impl.type.child.ChildElementCollectionBuilderImpl<T>
-
- All Implemented Interfaces:
ModelBuildOperation,ChildElementCollectionBuilder<T>
- Direct Known Subclasses:
ChildElementBuilderImpl
public class ChildElementCollectionBuilderImpl<T extends ModelElementInstance> extends Object implements ChildElementCollectionBuilder<T>, ModelBuildOperation
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected Class<T>childElementTypeprotected ModelElementTypeImplparentElementTypeTheModelElementTypeof the element containing the collection
-
Constructor Summary
Constructors Constructor Description ChildElementCollectionBuilderImpl(Class<T> childElementTypeClass, ModelElementType parentElementType)
-
Method Summary
-
-
-
Field Detail
-
parentElementType
protected final ModelElementTypeImpl parentElementType
TheModelElementTypeof the element containing the collection
-
childElementType
protected final Class<T extends ModelElementInstance> childElementType
-
-
Constructor Detail
-
ChildElementCollectionBuilderImpl
public ChildElementCollectionBuilderImpl(Class<T> childElementTypeClass, ModelElementType parentElementType)
-
-
Method Detail
-
createCollectionInstance
protected ChildElementCollectionImpl<T> createCollectionInstance()
-
immutable
public ChildElementCollectionBuilder<T> immutable()
- Specified by:
immutablein interfaceChildElementCollectionBuilder<T extends ModelElementInstance>
-
required
public ChildElementCollectionBuilder<T> required()
- Specified by:
requiredin interfaceChildElementCollectionBuilder<T extends ModelElementInstance>
-
maxOccurs
public ChildElementCollectionBuilder<T> maxOccurs(int i)
- Specified by:
maxOccursin interfaceChildElementCollectionBuilder<T extends ModelElementInstance>
-
minOccurs
public ChildElementCollectionBuilder<T> minOccurs(int i)
- Specified by:
minOccursin interfaceChildElementCollectionBuilder<T extends ModelElementInstance>
-
build
public ChildElementCollection<T> build()
- Specified by:
buildin interfaceChildElementCollectionBuilder<T extends ModelElementInstance>
-
qNameElementReferenceCollection
public <V extends ModelElementInstance> ElementReferenceCollectionBuilder<V,T> qNameElementReferenceCollection(Class<V> referenceTargetType)
- Specified by:
qNameElementReferenceCollectionin interfaceChildElementCollectionBuilder<T extends ModelElementInstance>
-
idElementReferenceCollection
public <V extends ModelElementInstance> ElementReferenceCollectionBuilder<V,T> idElementReferenceCollection(Class<V> referenceTargetType)
- Specified by:
idElementReferenceCollectionin interfaceChildElementCollectionBuilder<T extends ModelElementInstance>
-
idsElementReferenceCollection
public <V extends ModelElementInstance> ElementReferenceCollectionBuilder<V,T> idsElementReferenceCollection(Class<V> referenceTargetType)
- Specified by:
idsElementReferenceCollectionin interfaceChildElementCollectionBuilder<T extends ModelElementInstance>
-
uriElementReferenceCollection
public <V extends ModelElementInstance> ElementReferenceCollectionBuilder<V,T> uriElementReferenceCollection(Class<V> referenceTargetType)
- Specified by:
uriElementReferenceCollectionin interfaceChildElementCollectionBuilder<T extends ModelElementInstance>
-
setReferenceBuilder
protected void setReferenceBuilder(ElementReferenceCollectionBuilder<?,?> referenceBuilder)
-
performModelBuild
public void performModelBuild(Model model)
- Specified by:
performModelBuildin interfaceModelBuildOperation
-
-