org.camunda.bpm.model.xml.impl.type.child
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parentElementType
protected final ModelElementTypeImpl parentElementType
- The
ModelElementType of the element containing the collection
childElementType
protected final Class<T extends ModelElementInstance> childElementType
ChildElementCollectionBuilderImpl
public ChildElementCollectionBuilderImpl(Class<T> childElementTypeClass,
ModelElementType parentElementType)
createCollectionInstance
protected ChildElementCollectionImpl<T> createCollectionInstance()
immutable
public ChildElementCollectionBuilder<T> immutable()
- Specified by:
immutable in interface ChildElementCollectionBuilder<T extends ModelElementInstance>
required
public ChildElementCollectionBuilder<T> required()
- Specified by:
required in interface ChildElementCollectionBuilder<T extends ModelElementInstance>
maxOccurs
public ChildElementCollectionBuilder<T> maxOccurs(int i)
- Specified by:
maxOccurs in interface ChildElementCollectionBuilder<T extends ModelElementInstance>
minOccurs
public ChildElementCollectionBuilder<T> minOccurs(int i)
- Specified by:
minOccurs in interface ChildElementCollectionBuilder<T extends ModelElementInstance>
build
public ChildElementCollection<T> build()
- Specified by:
build in interface ChildElementCollectionBuilder<T extends ModelElementInstance>
qNameElementReferenceCollection
public <V extends ModelElementInstance> ElementReferenceCollectionBuilder<V,T> qNameElementReferenceCollection(Class<V> referenceTargetType)
- Specified by:
qNameElementReferenceCollection in interface ChildElementCollectionBuilder<T extends ModelElementInstance>
idElementReferenceCollection
public <V extends ModelElementInstance> ElementReferenceCollectionBuilder<V,T> idElementReferenceCollection(Class<V> referenceTargetType)
- Specified by:
idElementReferenceCollection in interface ChildElementCollectionBuilder<T extends ModelElementInstance>
idsElementReferenceCollection
public <V extends ModelElementInstance> ElementReferenceCollectionBuilder<V,T> idsElementReferenceCollection(Class<V> referenceTargetType)
- Specified by:
idsElementReferenceCollection in interface ChildElementCollectionBuilder<T extends ModelElementInstance>
uriElementReferenceCollection
public <V extends ModelElementInstance> ElementReferenceCollectionBuilder<V,T> uriElementReferenceCollection(Class<V> referenceTargetType)
- Specified by:
uriElementReferenceCollection in interface ChildElementCollectionBuilder<T extends ModelElementInstance>
setReferenceBuilder
protected void setReferenceBuilder(ElementReferenceCollectionBuilder<?,?> referenceBuilder)
performModelBuild
public void performModelBuild(Model model)
- Specified by:
performModelBuild in interface ModelBuildOperation
Copyright © 2015 camunda services GmbH. All rights reserved.