Class RelationshipImpl
- java.lang.Object
-
- org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.BpmnModelElementInstanceImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.BaseElementImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.RelationshipImpl
-
- All Implemented Interfaces:
BaseElement,BpmnModelElementInstance,Relationship,ModelElementInstance
public class RelationshipImpl extends BaseElementImpl implements Relationship
The BPMN relationship element- Author:
- Sebastian Menski
-
-
Field Summary
Fields Modifier and Type Field Description protected static Attribute<RelationshipDirection>directionAttributeprotected static ChildElementCollection<Source>sourceCollectionprotected static ChildElementCollection<Target>targetCollectionprotected static Attribute<java.lang.String>typeAttribute-
Fields inherited from class org.camunda.bpm.model.bpmn.impl.instance.BaseElementImpl
documentationCollection, extensionElementsChild, idAttribute
-
Fields inherited from class org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
modelInstance
-
-
Constructor Summary
Constructors Constructor Description RelationshipImpl(ModelTypeInstanceContext instanceContext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RelationshipDirectiongetDirection()java.util.Collection<Source>getSources()java.util.Collection<Target>getTargets()java.lang.StringgetType()static voidregisterType(ModelBuilder modelBuilder)voidsetDirection(RelationshipDirection direction)voidsetType(java.lang.String type)-
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.BaseElementImpl
getDiagramElement, getDocumentations, getExtensionElements, getId, getIncomingReferencesByType, setExtensionElements, setId
-
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.BpmnModelElementInstanceImpl
builder, getScope, isScope
-
Methods inherited from class org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.BaseElement
getDiagramElement, getDocumentations, getExtensionElements, getId, setExtensionElements, setId
-
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.BpmnModelElementInstance
builder, getScope, isScope
-
Methods inherited from interface org.camunda.bpm.model.xml.instance.ModelElementInstance
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
-
-
-
-
Field Detail
-
typeAttribute
protected static Attribute<java.lang.String> typeAttribute
-
directionAttribute
protected static Attribute<RelationshipDirection> directionAttribute
-
sourceCollection
protected static ChildElementCollection<Source> sourceCollection
-
targetCollection
protected static ChildElementCollection<Target> targetCollection
-
-
Constructor Detail
-
RelationshipImpl
public RelationshipImpl(ModelTypeInstanceContext instanceContext)
-
-
Method Detail
-
registerType
public static void registerType(ModelBuilder modelBuilder)
-
getType
public java.lang.String getType()
- Specified by:
getTypein interfaceRelationship
-
setType
public void setType(java.lang.String type)
- Specified by:
setTypein interfaceRelationship
-
getDirection
public RelationshipDirection getDirection()
- Specified by:
getDirectionin interfaceRelationship
-
setDirection
public void setDirection(RelationshipDirection direction)
- Specified by:
setDirectionin interfaceRelationship
-
getSources
public java.util.Collection<Source> getSources()
- Specified by:
getSourcesin interfaceRelationship
-
getTargets
public java.util.Collection<Target> getTargets()
- Specified by:
getTargetsin interfaceRelationship
-
-