org.camunda.bpm.model.cmmn.impl.instance
Class RelationshipImpl

java.lang.Object
  extended by org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
      extended by org.camunda.bpm.model.cmmn.impl.instance.CmmnModelElementInstanceImpl
          extended by org.camunda.bpm.model.cmmn.impl.instance.CmmnElementImpl
              extended by org.camunda.bpm.model.cmmn.impl.instance.RelationshipImpl
All Implemented Interfaces:
CmmnElement, CmmnModelElementInstance, Relationship, org.camunda.bpm.model.xml.instance.ModelElementInstance

public class RelationshipImpl
extends CmmnElementImpl
implements Relationship

Author:
Roman Smirnov

Field Summary
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 org.camunda.bpm.model.cmmn.impl.instance.CmmnElementImpl
descriptionAttribute, extensionElementsChild, idAttribute
 
Fields inherited from class org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
modelInstance
 
Constructor Summary
RelationshipImpl(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext instanceContext)
           
 
Method Summary
 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 org.camunda.bpm.model.cmmn.impl.instance.CmmnElementImpl
getDescription, getExtensionElements, getId, setDescription, setExtensionElements, setId
 
Methods inherited from class org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
addChildElement, equals, getAttributeValue, getAttributeValueNs, getChildElementsByType, getChildElementsByType, getDomElement, getElementType, getModelInstance, getParentElement, getRawTextContent, getTextContent, getUniqueChildElementByNameNs, getUniqueChildElementByType, hashCode, insertElementAfter, removeAttribute, removeAttributeNs, removeChildElement, replaceChildElement, replaceWithElement, setAttributeValue, setAttributeValue, 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.cmmn.instance.CmmnElement
getDescription, getExtensionElements, getId, setDescription, setExtensionElements, setId
 
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, 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
Constructor Detail

RelationshipImpl

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

registerType

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

getType

public String getType()
Specified by:
getType in interface Relationship

setType

public void setType(String type)
Specified by:
setType in interface Relationship

getDirection

public RelationshipDirection getDirection()
Specified by:
getDirection in interface Relationship

setDirection

public void setDirection(RelationshipDirection direction)
Specified by:
setDirection in interface Relationship

getSources

public Collection<Source> getSources()
Specified by:
getSources in interface Relationship

getTargets

public Collection<Target> getTargets()
Specified by:
getTargets in interface Relationship


Copyright © 2015 camunda services GmbH. All rights reserved.