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 SummaryFields Modifier and Type Field Description protected static Attribute<RelationshipDirection>directionAttributeprotected static ChildElementCollection<Source>sourceCollectionprotected static ChildElementCollection<Target>targetCollectionprotected static Attribute<String>typeAttribute- 
Fields inherited from class org.camunda.bpm.model.bpmn.impl.instance.BaseElementImpldocumentationCollection, extensionElementsChild, idAttribute
 - 
Fields inherited from class org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImplmodelInstance
 
- 
 - 
Constructor SummaryConstructors Constructor Description RelationshipImpl(ModelTypeInstanceContext instanceContext)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RelationshipDirectiongetDirection()Collection<Source>getSources()Collection<Target>getTargets()StringgetType()static voidregisterType(ModelBuilder modelBuilder)voidsetDirection(RelationshipDirection direction)voidsetType(String type)- 
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.BaseElementImplgetDiagramElement, getDocumentations, getExtensionElements, getId, getIncomingReferencesByType, setExtensionElements, setId
 - 
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.BpmnModelElementInstanceImplbuilder, getScope, isScope
 - 
Methods inherited from class org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpladdChildElement, 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.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.BaseElementgetDiagramElement, getDocumentations, getExtensionElements, getId, setExtensionElements, setId
 - 
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.BpmnModelElementInstancebuilder, getScope, isScope
 - 
Methods inherited from interface org.camunda.bpm.model.xml.instance.ModelElementInstanceaddChildElement, 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- 
directionAttributeprotected static Attribute<RelationshipDirection> directionAttribute 
 - 
sourceCollectionprotected static ChildElementCollection<Source> sourceCollection 
 - 
targetCollectionprotected static ChildElementCollection<Target> targetCollection 
 
- 
 - 
Constructor Detail- 
RelationshipImplpublic RelationshipImpl(ModelTypeInstanceContext instanceContext) 
 
- 
 - 
Method Detail- 
registerTypepublic static void registerType(ModelBuilder modelBuilder) 
 - 
getTypepublic String getType() - Specified by:
- getTypein interface- Relationship
 
 - 
setTypepublic void setType(String type) - Specified by:
- setTypein interface- Relationship
 
 - 
getDirectionpublic RelationshipDirection getDirection() - Specified by:
- getDirectionin interface- Relationship
 
 - 
setDirectionpublic void setDirection(RelationshipDirection direction) - Specified by:
- setDirectionin interface- Relationship
 
 - 
getSourcespublic Collection<Source> getSources() - Specified by:
- getSourcesin interface- Relationship
 
 - 
getTargetspublic Collection<Target> getTargets() - Specified by:
- getTargetsin interface- Relationship
 
 
- 
 
-