public class ExtensionElementsImpl extends DmnModelElementInstanceImpl implements ExtensionElements
modelInstance
Constructor and Description |
---|
ExtensionElementsImpl(ModelTypeInstanceContext context) |
Modifier and Type | Method and Description |
---|---|
void |
addChildElement(ModelElementInstance extensionElement)
Adds a new child element to the children of this element.
|
<T extends ModelElementInstance> |
addExtensionElement(Class<T> extensionElementClass) |
ModelElementInstance |
addExtensionElement(String namespaceUri,
String localName) |
Collection<ModelElementInstance> |
getElements() |
Query<ModelElementInstance> |
getElementsQuery() |
static void |
registerType(ModelBuilder modelBuilder) |
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
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
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
public ExtensionElementsImpl(ModelTypeInstanceContext context)
public static void registerType(ModelBuilder modelBuilder)
public Collection<ModelElementInstance> getElements()
getElements
in interface ExtensionElements
public Query<ModelElementInstance> getElementsQuery()
getElementsQuery
in interface ExtensionElements
public ModelElementInstance addExtensionElement(String namespaceUri, String localName)
addExtensionElement
in interface ExtensionElements
public <T extends ModelElementInstance> T addExtensionElement(Class<T> extensionElementClass)
addExtensionElement
in interface ExtensionElements
public void addChildElement(ModelElementInstance extensionElement)
ModelElementInstance
addChildElement
in interface ModelElementInstance
addChildElement
in class ModelElementInstanceImpl
extensionElement
- the new child elementCopyright © 2022. All rights reserved.