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
Modifier and TypeFieldDescriptionprotected final ModelElementTypeImpl
TheModelElementType
of the element containing the collection -
Constructor Summary
ConstructorDescriptionChildElementCollectionBuilderImpl
(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) void
performModelBuild
(Model model) <V extends ModelElementInstance>
ElementReferenceCollectionBuilder<V,T> qNameElementReferenceCollection
(Class<V> referenceTargetType) required()
protected void
setReferenceBuilder
(ElementReferenceCollectionBuilder<?, ?> referenceBuilder) <V extends ModelElementInstance>
ElementReferenceCollectionBuilder<V,T> uriElementReferenceCollection
(Class<V> referenceTargetType)
-
Field Details
-
parentElementType
TheModelElementType
of the element containing the collection -
childElementType
-
-
Constructor Details
-
ChildElementCollectionBuilderImpl
public ChildElementCollectionBuilderImpl(Class<T> childElementTypeClass, ModelElementType parentElementType)
-
-
Method Details
-
createCollectionInstance
-
immutable
- Specified by:
immutable
in interfaceChildElementCollectionBuilder<T extends ModelElementInstance>
-
required
- Specified by:
required
in interfaceChildElementCollectionBuilder<T extends ModelElementInstance>
-
maxOccurs
- Specified by:
maxOccurs
in interfaceChildElementCollectionBuilder<T extends ModelElementInstance>
-
minOccurs
- Specified by:
minOccurs
in interfaceChildElementCollectionBuilder<T extends ModelElementInstance>
-
build
- Specified by:
build
in interfaceChildElementCollectionBuilder<T extends ModelElementInstance>
-
qNameElementReferenceCollection
public <V extends ModelElementInstance> ElementReferenceCollectionBuilder<V,T> qNameElementReferenceCollection(Class<V> referenceTargetType) - Specified by:
qNameElementReferenceCollection
in interfaceChildElementCollectionBuilder<T extends ModelElementInstance>
-
idElementReferenceCollection
public <V extends ModelElementInstance> ElementReferenceCollectionBuilder<V,T> idElementReferenceCollection(Class<V> referenceTargetType) - Specified by:
idElementReferenceCollection
in interfaceChildElementCollectionBuilder<T extends ModelElementInstance>
-
idsElementReferenceCollection
public <V extends ModelElementInstance> ElementReferenceCollectionBuilder<V,T> idsElementReferenceCollection(Class<V> referenceTargetType) - Specified by:
idsElementReferenceCollection
in interfaceChildElementCollectionBuilder<T extends ModelElementInstance>
-
uriElementReferenceCollection
public <V extends ModelElementInstance> ElementReferenceCollectionBuilder<V,T> uriElementReferenceCollection(Class<V> referenceTargetType) - Specified by:
uriElementReferenceCollection
in interfaceChildElementCollectionBuilder<T extends ModelElementInstance>
-
setReferenceBuilder
-
performModelBuild
- Specified by:
performModelBuild
in interfaceModelBuildOperation
-