org.camunda.bpm.model.bpmn.impl.instance
Class AssociationImpl

java.lang.Object
  extended by org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
      extended by org.camunda.bpm.model.bpmn.impl.instance.BpmnModelElementInstanceImpl
          extended by org.camunda.bpm.model.bpmn.impl.instance.BaseElementImpl
              extended by org.camunda.bpm.model.bpmn.impl.instance.ArtifactImpl
                  extended by org.camunda.bpm.model.bpmn.impl.instance.AssociationImpl
All Implemented Interfaces:
Artifact, Association, BaseElement, BpmnModelElementInstance, org.camunda.bpm.model.xml.instance.ModelElementInstance

public class AssociationImpl
extends ArtifactImpl
implements Association

Author:
Sebastian Menski

Field Summary
protected static org.camunda.bpm.model.xml.type.attribute.Attribute<AssociationDirection> associationDirectionAttribute
           
protected static org.camunda.bpm.model.xml.type.reference.AttributeReference<BaseElement> sourceRefAttribute
           
protected static org.camunda.bpm.model.xml.type.reference.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
AssociationImpl(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext instanceContext)
           
 
Method Summary
 AssociationDirection getAssociationDirection()
           
 BpmnEdge getDiagramElement()
           
 BaseElement getSource()
           
 BaseElement getTarget()
           
static void registerType(org.camunda.bpm.model.xml.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 org.camunda.bpm.model.xml.type.reference.AttributeReference<BaseElement> sourceRefAttribute

targetRefAttribute

protected static org.camunda.bpm.model.xml.type.reference.AttributeReference<BaseElement> targetRefAttribute

associationDirectionAttribute

protected static org.camunda.bpm.model.xml.type.attribute.Attribute<AssociationDirection> associationDirectionAttribute
Constructor Detail

AssociationImpl

public AssociationImpl(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext instanceContext)
Method Detail

registerType

public static void registerType(org.camunda.bpm.model.xml.ModelBuilder modelBuilder)

getSource

public BaseElement getSource()
Specified by:
getSource in interface Association

setSource

public void setSource(BaseElement source)
Specified by:
setSource in interface Association

getTarget

public BaseElement getTarget()
Specified by:
getTarget in interface Association

setTarget

public void setTarget(BaseElement target)
Specified by:
setTarget in interface Association

getAssociationDirection

public AssociationDirection getAssociationDirection()
Specified by:
getAssociationDirection in interface Association

setAssociationDirection

public void setAssociationDirection(AssociationDirection associationDirection)
Specified by:
setAssociationDirection in interface Association

getDiagramElement

public BpmnEdge getDiagramElement()
Specified by:
getDiagramElement in interface Association
Specified by:
getDiagramElement in interface BaseElement
Overrides:
getDiagramElement in class BaseElementImpl


Copyright © 2017 camunda services GmbH. All rights reserved.