Class ExtensionElementsImpl
- java.lang.Object
-
- org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
-
- org.camunda.bpm.model.cmmn.impl.instance.CmmnModelElementInstanceImpl
-
- org.camunda.bpm.model.cmmn.impl.instance.ExtensionElementsImpl
-
- All Implemented Interfaces:
CmmnModelElementInstance
,ExtensionElements
,ModelElementInstance
public class ExtensionElementsImpl extends CmmnModelElementInstanceImpl implements ExtensionElements
- Author:
- Roman Smirnov
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
modelInstance
-
-
Constructor Summary
Constructors Constructor Description ExtensionElementsImpl(ModelTypeInstanceContext context)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChildElement(ModelElementInstance extensionElement)
Adds a new child element to the children of this element.<T extends ModelElementInstance>
TaddExtensionElement(Class<T> extensionElementClass)
ModelElementInstance
addExtensionElement(String namespaceUri, String localName)
Collection<ModelElementInstance>
getElements()
Query<ModelElementInstance>
getElementsQuery()
static void
registerType(ModelBuilder modelBuilder)
-
Methods inherited from class org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
asSet, equals, getAttributeValue, getAttributeValueNs, getChildElementsByType, getChildElementsByType, getDomElement, getElementType, getModelInstance, getParentElement, getRawTextContent, getTextContent, getUniqueChildElementByNameNs, getUniqueChildElementByType, hashCode, insertElementAfter, removeAttribute, removeAttributeNs, removeChildElement, replaceChildElement, replaceWithElement, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValueNs, setAttributeValueNs, setAttributeValueNs, setTextContent, setUniqueChildElementByNameNs, updateAfterReplacement
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.model.xml.instance.ModelElementInstance
getAttributeValue, getAttributeValueNs, getChildElementsByType, getChildElementsByType, getDomElement, getElementType, getModelInstance, getParentElement, getRawTextContent, getTextContent, getUniqueChildElementByNameNs, getUniqueChildElementByType, insertElementAfter, removeAttribute, removeAttributeNs, removeChildElement, replaceChildElement, replaceWithElement, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValueNs, setAttributeValueNs, setAttributeValueNs, setTextContent, setUniqueChildElementByNameNs, updateAfterReplacement
-
-
-
-
Constructor Detail
-
ExtensionElementsImpl
public ExtensionElementsImpl(ModelTypeInstanceContext context)
-
-
Method Detail
-
registerType
public static void registerType(ModelBuilder modelBuilder)
-
getElements
public Collection<ModelElementInstance> getElements()
- Specified by:
getElements
in interfaceExtensionElements
-
getElementsQuery
public Query<ModelElementInstance> getElementsQuery()
- Specified by:
getElementsQuery
in interfaceExtensionElements
-
addExtensionElement
public ModelElementInstance addExtensionElement(String namespaceUri, String localName)
- Specified by:
addExtensionElement
in interfaceExtensionElements
-
addExtensionElement
public <T extends ModelElementInstance> T addExtensionElement(Class<T> extensionElementClass)
- Specified by:
addExtensionElement
in interfaceExtensionElements
-
addChildElement
public void addChildElement(ModelElementInstance extensionElement)
Description copied from interface:ModelElementInstance
Adds a new child element to the children of this element. The child is inserted at the correct position of the allowed child types. Updates the underlying DOM element tree.- Specified by:
addChildElement
in interfaceModelElementInstance
- Overrides:
addChildElement
in classModelElementInstanceImpl
- Parameters:
extensionElement
- the new child element
-
-