public class RelationshipImpl extends BaseElementImpl 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 |
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) |
getDiagramElement, getDocumentations, getExtensionElements, getId, getIncomingReferencesByType, setExtensionElements, setId
builder, getScope, isScope
addChildElement, equals, getAttributeValue, getAttributeValueNs, getChildElementsByType, getChildElementsByType, getDomElement, getElementType, getModelInstance, getParentElement, getRawTextContent, getTextContent, getUniqueChildElementByNameNs, getUniqueChildElementByType, hashCode, insertElementAfter, removeAttribute, removeAttributeNs, removeChildElement, replaceChildElement, replaceWithElement, setAttributeValue, setAttributeValue, setAttributeValueNs, setAttributeValueNs, setTextContent, setUniqueChildElementByNameNs, updateAfterReplacement
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getDiagramElement, getDocumentations, getExtensionElements, getId, setExtensionElements, setId
builder, getScope, isScope
addChildElement, getAttributeValue, getAttributeValueNs, getChildElementsByType, getChildElementsByType, getDomElement, getElementType, getModelInstance, getParentElement, getRawTextContent, getTextContent, getUniqueChildElementByNameNs, getUniqueChildElementByType, insertElementAfter, removeAttribute, removeAttributeNs, removeChildElement, replaceChildElement, replaceWithElement, setAttributeValue, setAttributeValue, 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 © 2015. All rights reserved.