public class RelationshipImpl extends CmmnElementImpl implements Relationship
| Modifier and Type | Field and Description |
|---|---|
protected static Attribute<RelationshipDirection> |
directionAttribute |
protected static ChildElementCollection<Source> |
sourceCollection |
protected static ChildElementCollection<Target> |
targetCollection |
protected static Attribute<String> |
typeAttribute |
descriptionAttribute, documentationCollection, extensionElementsChild, idAttributemodelInstance| Constructor and Description |
|---|
RelationshipImpl(ModelTypeInstanceContext instanceContext) |
| Modifier and Type | Method and Description |
|---|---|
RelationshipDirection |
getDirection() |
Collection<Source> |
getSources() |
Collection<Target> |
getTargets() |
String |
getType() |
static void |
registerType(ModelBuilder modelBuilder) |
void |
setDirection(RelationshipDirection direction) |
void |
setType(String type) |
getDescription, getDocumentations, getExtensionElements, getId, isCmmn11, setDescription, setExtensionElements, setIdaddChildElement, 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, updateAfterReplacementclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetDescription, getDocumentations, getExtensionElements, getId, setDescription, setExtensionElements, setIdaddChildElement, 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, updateAfterReplacementprotected static Attribute<RelationshipDirection> directionAttribute
protected static ChildElementCollection<Source> sourceCollection
protected static ChildElementCollection<Target> targetCollection
public RelationshipImpl(ModelTypeInstanceContext instanceContext)
public static void registerType(ModelBuilder modelBuilder)
public String getType()
getType in interface Relationshippublic void setType(String type)
setType in interface Relationshippublic RelationshipDirection getDirection()
getDirection in interface Relationshippublic void setDirection(RelationshipDirection direction)
setDirection in interface Relationshippublic Collection<Source> getSources()
getSources in interface Relationshippublic Collection<Target> getTargets()
getTargets in interface RelationshipCopyright © 2021. All rights reserved.