Class AbstractBpmnModelElementBuilder<B extends AbstractBpmnModelElementBuilder<B,E>,E extends BpmnModelElementInstance>
- java.lang.Object
 - 
- org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,E>
 
 
- 
- Direct Known Subclasses:
 AbstractBaseElementBuilder,AbstractCamundaFormFieldBuilder
public abstract class AbstractBpmnModelElementBuilder<B extends AbstractBpmnModelElementBuilder<B,E>,E extends BpmnModelElementInstance> extends Object
- Author:
 - Sebastian Menski
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected Eelementprotected BpmnModelInstancemodelInstanceprotected Bmyself 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractBpmnModelElementBuilder(BpmnModelInstance modelInstance, E element, Class<?> selfType) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BpmnModelInstancedone()Finishes the process building.EgetElement()SubProcessBuildersubProcessDone()Finishes the building of an embedded sub-process.AbstractThrowEventBuilderthrowEventDefinitionDone()TransactionBuildertransactionDone() 
 - 
 
- 
- 
Field Detail
- 
modelInstance
protected final BpmnModelInstance modelInstance
 
- 
element
protected final E extends BpmnModelElementInstance element
 
- 
myself
protected final B extends AbstractBpmnModelElementBuilder<B,E> myself
 
 - 
 
- 
Constructor Detail
- 
AbstractBpmnModelElementBuilder
protected AbstractBpmnModelElementBuilder(BpmnModelInstance modelInstance, E element, Class<?> selfType)
 
 - 
 
- 
Method Detail
- 
done
public BpmnModelInstance done()
Finishes the process building.- Returns:
 - the model instance with the build process
 
 
- 
subProcessDone
public SubProcessBuilder subProcessDone()
Finishes the building of an embedded sub-process.- Returns:
 - the parent sub-process builder
 - Throws:
 BpmnModelException- if no parent sub-process can be found
 
- 
transactionDone
public TransactionBuilder transactionDone()
 
- 
throwEventDefinitionDone
public AbstractThrowEventBuilder throwEventDefinitionDone()
 
- 
getElement
public E getElement()
 
 - 
 
 -