Class RelationshipImpl
- java.lang.Object
-
- org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
-
- io.zeebe.model.bpmn.impl.instance.BpmnModelElementInstanceImpl
-
- io.zeebe.model.bpmn.impl.instance.BaseElementImpl
-
- io.zeebe.model.bpmn.impl.instance.RelationshipImpl
-
- All Implemented Interfaces:
BaseElement
,BpmnModelElementInstance
,Relationship
,org.camunda.bpm.model.xml.instance.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 org.camunda.bpm.model.xml.type.attribute.Attribute<RelationshipDirection>
directionAttribute
protected static org.camunda.bpm.model.xml.type.child.ChildElementCollection<Source>
sourceCollection
protected static org.camunda.bpm.model.xml.type.child.ChildElementCollection<Target>
targetCollection
protected static org.camunda.bpm.model.xml.type.attribute.Attribute<String>
typeAttribute
-
Fields inherited from class io.zeebe.model.bpmn.impl.instance.BaseElementImpl
documentationCollection, extensionElementsChild, idAttribute
-
-
Constructor Summary
Constructors Constructor Description RelationshipImpl(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext instanceContext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RelationshipDirection
getDirection()
Collection<Source>
getSources()
Collection<Target>
getTargets()
String
getType()
static void
registerType(org.camunda.bpm.model.xml.ModelBuilder modelBuilder)
void
setDirection(RelationshipDirection direction)
void
setType(String type)
-
Methods inherited from class io.zeebe.model.bpmn.impl.instance.BaseElementImpl
getDiagramElement, getDocumentations, getExtensionElements, getId, getIncomingReferencesByType, getSingleExtensionElement, setExtensionElements, setId
-
Methods inherited from class io.zeebe.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 io.zeebe.model.bpmn.instance.BaseElement
getDiagramElement, getDocumentations, getExtensionElements, getId, getSingleExtensionElement, setExtensionElements, setId
-
Methods inherited from interface io.zeebe.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 org.camunda.bpm.model.xml.type.attribute.Attribute<String> typeAttribute
-
directionAttribute
protected static org.camunda.bpm.model.xml.type.attribute.Attribute<RelationshipDirection> directionAttribute
-
sourceCollection
protected static org.camunda.bpm.model.xml.type.child.ChildElementCollection<Source> sourceCollection
-
targetCollection
protected static org.camunda.bpm.model.xml.type.child.ChildElementCollection<Target> targetCollection
-
-
Method Detail
-
registerType
public static void registerType(org.camunda.bpm.model.xml.ModelBuilder modelBuilder)
-
getType
public String getType()
- Specified by:
getType
in interfaceRelationship
-
setType
public void setType(String type)
- Specified by:
setType
in interfaceRelationship
-
getDirection
public RelationshipDirection getDirection()
- Specified by:
getDirection
in interfaceRelationship
-
setDirection
public void setDirection(RelationshipDirection direction)
- Specified by:
setDirection
in interfaceRelationship
-
getSources
public Collection<Source> getSources()
- Specified by:
getSources
in interfaceRelationship
-
getTargets
public Collection<Target> getTargets()
- Specified by:
getTargets
in interfaceRelationship
-
-