public abstract class AbstractBaseElementBuilder<B extends AbstractBaseElementBuilder<B,E>,E extends BaseElement> extends AbstractBpmnModelElementBuilder<B,E>
element, modelInstance, myself
Modifier | Constructor and Description |
---|---|
protected |
AbstractBaseElementBuilder(BpmnModelInstance modelInstance,
E element,
Class<?> selfType) |
Modifier and Type | Method and Description |
---|---|
B |
addExtensionElement(BpmnModelElementInstance extensionElement)
Add an extension element to the element.
|
protected <T extends BpmnModelElementInstance> |
createChild(Class<T> typeClass) |
protected <T extends BaseElement> |
createChild(Class<T> typeClass,
String identifier) |
protected <T extends BpmnModelElementInstance> |
createInstance(Class<T> typeClass) |
protected <T extends BaseElement> |
createInstance(Class<T> typeClass,
String identifier) |
protected <T extends BpmnModelElementInstance> |
createSibling(Class<T> typeClass) |
protected <T extends BaseElement> |
createSibling(Class<T> typeClass,
String identifier) |
B |
id(String identifier)
Sets the identifier of the element.
|
done, subProcessDone
protected AbstractBaseElementBuilder(BpmnModelInstance modelInstance, E element, Class<?> selfType)
protected <T extends BpmnModelElementInstance> T createInstance(Class<T> typeClass)
protected <T extends BaseElement> T createInstance(Class<T> typeClass, String identifier)
protected <T extends BpmnModelElementInstance> T createChild(Class<T> typeClass)
protected <T extends BaseElement> T createChild(Class<T> typeClass, String identifier)
protected <T extends BpmnModelElementInstance> T createSibling(Class<T> typeClass)
protected <T extends BaseElement> T createSibling(Class<T> typeClass, String identifier)
public B id(String identifier)
identifier
- the identifier to setpublic B addExtensionElement(BpmnModelElementInstance extensionElement)
extensionElement
- the extension element to addCopyright © 2015. All rights reserved.