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, idAttribute
modelInstance
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, setId
addChildElement, 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
getDescription, getDocumentations, getExtensionElements, getId, setDescription, setExtensionElements, setId
addChildElement, 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
protected 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 Relationship
public void setType(String type)
setType
in interface Relationship
public RelationshipDirection getDirection()
getDirection
in interface Relationship
public void setDirection(RelationshipDirection direction)
setDirection
in interface Relationship
public Collection<Source> getSources()
getSources
in interface Relationship
public Collection<Target> getTargets()
getTargets
in interface Relationship
Copyright © 2020. All rights reserved.