*
* @param extensionElement the extension element to add
* @return the builder object
*/
public B addExtensionElement(BpmnModelElementInstance extensionElement) {
ExtensionElements extensionElements = element.getExtensionElements();
if (extensionElements == null) {
extensionElements = modelInstance.newInstance(ExtensionElements.class);
element.setExtensionElements(extensionElements);
}
extensionElements.getElements().add(extensionElement);
return myself;
}