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
FieldsModifier and TypeFieldDescriptionprotected final ModelElementTypeImplTheModelElementTypeof the element containing the collection -
Constructor Summary
ConstructorsConstructorDescriptionChildElementCollectionBuilderImpl(Class<T> childElementTypeClass, ModelElementType parentElementType) -
Method Summary
Modifier and TypeMethodDescriptionbuild()protected ChildElementCollectionImpl<T><V extends ModelElementInstance>
ElementReferenceCollectionBuilder<V,T> idElementReferenceCollection(Class<V> referenceTargetType) <V extends ModelElementInstance>
ElementReferenceCollectionBuilder<V,T> idsElementReferenceCollection(Class<V> referenceTargetType) maxOccurs(int i) minOccurs(int i) voidperformModelBuild(Model model) <V extends ModelElementInstance>
ElementReferenceCollectionBuilder<V,T> qNameElementReferenceCollection(Class<V> referenceTargetType) required()protected voidsetReferenceBuilder(ElementReferenceCollectionBuilder<?, ?> referenceBuilder) <V extends ModelElementInstance>
ElementReferenceCollectionBuilder<V,T> uriElementReferenceCollection(Class<V> referenceTargetType)
-
Field Details
-
parentElementType
TheModelElementTypeof the element containing the collection -
childElementType
-
-
Constructor Details
-
ChildElementCollectionBuilderImpl
public ChildElementCollectionBuilderImpl(Class<T> childElementTypeClass, ModelElementType parentElementType)
-
-
Method Details
-
createCollectionInstance
-
immutable
- Specified by:
immutablein interfaceChildElementCollectionBuilder<T extends ModelElementInstance>
-
required
- Specified by:
requiredin interfaceChildElementCollectionBuilder<T extends ModelElementInstance>
-
maxOccurs
- Specified by:
maxOccursin interfaceChildElementCollectionBuilder<T extends ModelElementInstance>
-
minOccurs
- Specified by:
minOccursin interfaceChildElementCollectionBuilder<T extends ModelElementInstance>
-
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
-
performModelBuild
- Specified by:
performModelBuildin interfaceModelBuildOperation
-