Class AssociationImpl
- 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.ArtifactImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.AssociationImpl
-
- All Implemented Interfaces:
Artifact
,Association
,BaseElement
,BpmnModelElementInstance
,ModelElementInstance
public class AssociationImpl extends ArtifactImpl implements Association
- Author:
- Sebastian Menski
-
-
Field Summary
Fields Modifier and Type Field Description protected static Attribute<AssociationDirection>
associationDirectionAttribute
protected static AttributeReference<BaseElement>
sourceRefAttribute
protected static AttributeReference<BaseElement>
targetRefAttribute
-
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 AssociationImpl(ModelTypeInstanceContext instanceContext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AssociationDirection
getAssociationDirection()
BpmnEdge
getDiagramElement()
BaseElement
getSource()
BaseElement
getTarget()
static void
registerType(ModelBuilder modelBuilder)
void
setAssociationDirection(AssociationDirection associationDirection)
void
setSource(BaseElement source)
void
setTarget(BaseElement target)
-
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.BaseElementImpl
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
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
-
sourceRefAttribute
protected static AttributeReference<BaseElement> sourceRefAttribute
-
targetRefAttribute
protected static AttributeReference<BaseElement> targetRefAttribute
-
associationDirectionAttribute
protected static Attribute<AssociationDirection> associationDirectionAttribute
-
-
Constructor Detail
-
AssociationImpl
public AssociationImpl(ModelTypeInstanceContext instanceContext)
-
-
Method Detail
-
registerType
public static void registerType(ModelBuilder modelBuilder)
-
getSource
public BaseElement getSource()
- Specified by:
getSource
in interfaceAssociation
-
setSource
public void setSource(BaseElement source)
- Specified by:
setSource
in interfaceAssociation
-
getTarget
public BaseElement getTarget()
- Specified by:
getTarget
in interfaceAssociation
-
setTarget
public void setTarget(BaseElement target)
- Specified by:
setTarget
in interfaceAssociation
-
getAssociationDirection
public AssociationDirection getAssociationDirection()
- Specified by:
getAssociationDirection
in interfaceAssociation
-
setAssociationDirection
public void setAssociationDirection(AssociationDirection associationDirection)
- Specified by:
setAssociationDirection
in interfaceAssociation
-
getDiagramElement
public BpmnEdge getDiagramElement()
- Specified by:
getDiagramElement
in interfaceAssociation
- Specified by:
getDiagramElement
in interfaceBaseElement
- Overrides:
getDiagramElement
in classBaseElementImpl
-
-