|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the type of the child elementpublic interface ChildElement<T extends ModelElementInstance>
A single child element (child Element collection where ChildElementCollection.getMaxOccurs() returns 1.
The Collection.add(Object) operation provided by this collection has special behavior: it will
replace an existing element if it exists.
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.camunda.bpm.model.xml.type.child.ChildElementCollection |
|---|
get, getChildElementType, getChildElementTypeClass, getMaxOccurs, getMinOccurs, getParentElementType, isImmutable |
| Method Detail |
|---|
void setChild(ModelElementInstance element,
T newChildElement)
element - the parent element of the child elementnewChildElement - the new child element to setT getChild(ModelElementInstance element)
element - the parent element of the child element
boolean removeChild(ModelElementInstance element)
element - the parent element of the child element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||