org.camunda.bpm.model.xml.impl.type.child
Class ChildElementCollectionBuilderImpl<T extends ModelElementInstance>

java.lang.Object
  extended by 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
protected  Class<T> childElementType
           
protected  ModelElementTypeImpl parentElementType
          The ModelElementType of the element containing the collection
 
Constructor Summary
ChildElementCollectionBuilderImpl(Class<T> childElementTypeClass, ModelElementType parentElementType)
           
 
Method Summary
 ChildElementCollection<T> build()
           
protected  ChildElementCollectionImpl<T> createCollectionInstance()
           
<V extends ModelElementInstance>
ElementReferenceCollectionBuilder<V,T>
idElementReferenceCollection(Class<V> referenceTargetType)
           
<V extends ModelElementInstance>
ElementReferenceCollectionBuilder<V,T>
idsElementReferenceCollection(Class<V> referenceTargetType)
           
 ChildElementCollectionBuilder<T> immutable()
           
 ChildElementCollectionBuilder<T> maxOccurs(int i)
           
 ChildElementCollectionBuilder<T> minOccurs(int i)
           
 void performModelBuild(Model model)
           
<V extends ModelElementInstance>
ElementReferenceCollectionBuilder<V,T>
qNameElementReferenceCollection(Class<V> referenceTargetType)
           
 ChildElementCollectionBuilder<T> required()
           
protected  void setReferenceBuilder(ElementReferenceCollectionBuilder<?,?> referenceBuilder)
           
<V extends ModelElementInstance>
ElementReferenceCollectionBuilder<V,T>
uriElementReferenceCollection(Class<V> referenceTargetType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parentElementType

protected final ModelElementTypeImpl parentElementType
The ModelElementType of 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:
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 © 2016 camunda services GmbH. All rights reserved.