Class AbstractBaseElementBuilder<B extends AbstractBaseElementBuilder<B,E>,E extends BaseElement>  
java.lang.Object
org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,E>
 
org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder<B,E> 
- Direct Known Subclasses:
- AbstractFlowElementBuilder,- AbstractMultiInstanceLoopCharacteristicsBuilder,- AbstractRootElementBuilder
public abstract class AbstractBaseElementBuilder<B extends AbstractBaseElementBuilder<B,E>,E extends BaseElement>  
extends AbstractBpmnModelElementBuilder<B,E> 
- Author:
- Sebastian Menski
- 
Field SummaryFieldsFields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilderelement, modelInstance, myself
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedAbstractBaseElementBuilder(BpmnModelInstance modelInstance, E element, Class<?> selfType) 
- 
Method SummaryModifier and TypeMethodDescriptionaddExtensionElement(BpmnModelElementInstance extensionElement) Add an extension element to the element.createBpmnEdge(SequenceFlow sequenceFlow) Deprecated.createBpmnShape(FlowNode node) protected <T extends BpmnModelElementInstance>
 TcreateChild(Class<T> typeClass) protected <T extends BaseElement>
 TcreateChild(Class<T> typeClass, String identifier) protected <T extends BpmnModelElementInstance>
 TcreateChild(BpmnModelElementInstance parent, Class<T> typeClass) protected <T extends BaseElement>
 TcreateChild(BpmnModelElementInstance parent, Class<T> typeClass, String identifier) protected CompensateEventDefinitioncreateEdge(BaseElement baseElement) protected ErrorEventDefinitionprotected MessageEventDefinitionprotected ErrorEventDefinitioncreateErrorEventDefinition(String errorCode) protected ErrorEventDefinitioncreateErrorEventDefinition(String errorCode, String errorMessage) protected EscalationEventDefinitioncreateEscalationEventDefinition(String escalationCode) protected <T extends BpmnModelElementInstance>
 TcreateInstance(Class<T> typeClass) protected <T extends BaseElement>
 TcreateInstance(Class<T> typeClass, String identifier) protected MessageEventDefinitioncreateMessageEventDefinition(String messageName) protected <T extends BpmnModelElementInstance>
 TcreateSibling(Class<T> typeClass) protected <T extends BaseElement>
 TcreateSibling(Class<T> typeClass, String identifier) protected SignalEventDefinitioncreateSignalEventDefinition(String signalName) protected TimerEventDefinitioncreateTimeCycle(String timerCycle) protected TimerEventDefinitioncreateTimeDate(String timerDate) protected TimerEventDefinitioncreateTimeDuration(String timerDuration) documentation(String documentation) Sets the documentation of the element.protected BpmnEdgefindBpmnEdge(BaseElement sequenceFlow) protected BpmnPlaneprotected BpmnShapefindBpmnShape(BaseElement node) protected ErrorEventDefinitionfindErrorDefinitionForCode(String errorCode) protected ErrorfindErrorForNameAndCode(String errorCode) protected ErrorfindErrorForNameAndCode(String errorCode, String errorMessage) protected EscalationfindEscalationForCode(String escalationCode) protected MessagefindMessageForName(String messageName) protected SignalfindSignalForName(String signalName) protected <T extends BpmnModelElementInstance>
 TgetCreateSingleChild(Class<T> typeClass) protected <T extends BpmnModelElementInstance>
 TgetCreateSingleChild(BpmnModelElementInstance parent, Class<T> typeClass) protected <T extends BpmnModelElementInstance>
 TgetCreateSingleExtensionElement(Class<T> typeClass) Sets the identifier of the element.protected voidresizeSubProcess(BpmnShape innerShape) protected voidsetCoordinates(BpmnShape shape) protected voidsetWaypoints(BpmnEdge edge) protected voidsetWaypointsWithSourceAndTarget(BpmnEdge edge, FlowNode edgeSource, FlowNode edgeTarget) Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilderdone, getElement, subProcessDone, throwEventDefinitionDone, transactionDone
- 
Field Details- 
SPACEpublic static final double SPACE- See Also:
 
 
- 
- 
Constructor Details- 
AbstractBaseElementBuilder
 
- 
- 
Method Details- 
createInstance
- 
createInstance
- 
createChild
- 
createChild
- 
createChildprotected <T extends BpmnModelElementInstance> T createChild(BpmnModelElementInstance parent, Class<T> typeClass) 
- 
createChildprotected <T extends BaseElement> T createChild(BpmnModelElementInstance parent, Class<T> typeClass, String identifier) 
- 
createSibling
- 
createSibling
- 
getCreateSingleChild
- 
getCreateSingleChildprotected <T extends BpmnModelElementInstance> T getCreateSingleChild(BpmnModelElementInstance parent, Class<T> typeClass) 
- 
getCreateSingleExtensionElementprotected <T extends BpmnModelElementInstance> T getCreateSingleExtensionElement(Class<T> typeClass) 
- 
findMessageForName
- 
createMessageEventDefinition
- 
createEmptyMessageEventDefinition
- 
findSignalForName
- 
createSignalEventDefinition
- 
findErrorDefinitionForCode
- 
findErrorForNameAndCode
- 
findErrorForNameAndCode
- 
createEmptyErrorEventDefinition
- 
createErrorEventDefinition
- 
createErrorEventDefinition
- 
findEscalationForCode
- 
createEscalationEventDefinition
- 
createCompensateEventDefinition
- 
idSets the identifier of the element.- Parameters:
- identifier- the identifier to set
- Returns:
- the builder object
 
- 
documentationSets the documentation of the element.- Parameters:
- documentation- the documentation to set
- Returns:
- the builder object
 
- 
addExtensionElementAdd an extension element to the element.- Parameters:
- extensionElement- the extension element to add
- Returns:
- the builder object
 
- 
createBpmnShape
- 
setCoordinates
- 
createBpmnEdgeDeprecated.usecreateEdge(BaseElement)instead
- 
createEdge
- 
setWaypoints
- 
setWaypointsWithSourceAndTarget
- 
findBpmnPlane
- 
findBpmnShape
- 
findBpmnEdge
- 
resizeSubProcess
- 
createTimeCycle
- 
createTimeDate
- 
createTimeDuration
 
- 
createEdge(BaseElement)instead