public class ChildElementImpl<T extends ModelElementInstance> extends ChildElementCollectionImpl<T> implements ChildElement<T>
childElementTypeClass, maxOccurs| Constructor and Description |
|---|
ChildElementImpl(Class<T> childElementTypeChild,
ModelElementTypeImpl parentElementType) |
| Modifier and Type | Method and Description |
|---|---|
T |
getChild(ModelElementInstance element)
Returns the child element.
|
boolean |
removeChild(ModelElementInstance element)
Removes the child element.
|
void |
setChild(ModelElementInstance element,
T newChildElement)
Sets the child element, potentially replacing an existing child element.
|
get, getChildElementType, getChildElementTypeClass, getMaxOccurs, getMinOccurs, getParentElementType, isImmutable, setImmutable, setMaxOccurs, setMinOccurs, setMutableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, getChildElementType, getChildElementTypeClass, getMaxOccurs, getMinOccurs, getParentElementType, isImmutablepublic ChildElementImpl(Class<T> childElementTypeChild, ModelElementTypeImpl parentElementType)
public void setChild(ModelElementInstance element, T newChildElement)
ChildElementsetChild in interface ChildElement<T extends ModelElementInstance>element - the parent element of the child elementnewChildElement - the new child element to setpublic T getChild(ModelElementInstance element)
ChildElementgetChild in interface ChildElement<T extends ModelElementInstance>element - the parent element of the child elementpublic boolean removeChild(ModelElementInstance element)
ChildElementremoveChild in interface ChildElement<T extends ModelElementInstance>element - the parent element of the child elementCopyright © 2014–2020 camunda services GmbH. All rights reserved.