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

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.FlowElementImpl
                  extended by org.camunda.bpm.model.bpmn.impl.instance.SequenceFlowImpl
All Implemented Interfaces:
BaseElement, BpmnModelElementInstance, FlowElement, SequenceFlow, org.camunda.bpm.model.xml.instance.ModelElementInstance

public class SequenceFlowImpl
extends FlowElementImpl
implements SequenceFlow

The BPMN sequenceFlow element

Author:
Sebastian Menski

Field Summary
protected static org.camunda.bpm.model.xml.type.child.ChildElement<ConditionExpression> conditionExpressionCollection
           
protected static org.camunda.bpm.model.xml.type.attribute.Attribute<Boolean> isImmediateAttribute
           
protected static org.camunda.bpm.model.xml.type.reference.AttributeReference<FlowNode> sourceRefAttribute
           
protected static org.camunda.bpm.model.xml.type.reference.AttributeReference<FlowNode> targetRefAttribute
           
 
Fields inherited from class org.camunda.bpm.model.bpmn.impl.instance.FlowElementImpl
auditingChild, categoryValueRefCollection, monitoringChild, nameAttribute
 
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
SequenceFlowImpl(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext context)
           
 
Method Summary
 SequenceFlowBuilder builder()
          Returns a new fluent builder for the element if implemented.
 ConditionExpression getConditionExpression()
           
 BpmnEdge getDiagramElement()
           
 FlowNode getSource()
           
 FlowNode getTarget()
           
 boolean isImmediate()
           
static void registerType(org.camunda.bpm.model.xml.ModelBuilder modelBuilder)
           
 void removeConditionExpression()
           
 void setConditionExpression(ConditionExpression conditionExpression)
           
 void setImmediate(boolean isImmediate)
           
 void setSource(FlowNode source)
           
 void setTarget(FlowNode target)
           
 
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.FlowElementImpl
getAuditing, getCategoryValueRefs, getMonitoring, getName, setAuditing, setMonitoring, setName
 
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
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.FlowElement
getAuditing, getCategoryValueRefs, getMonitoring, getName, setAuditing, setMonitoring, setName
 
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
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<FlowNode> sourceRefAttribute

targetRefAttribute

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

isImmediateAttribute

protected static org.camunda.bpm.model.xml.type.attribute.Attribute<Boolean> isImmediateAttribute

conditionExpressionCollection

protected static org.camunda.bpm.model.xml.type.child.ChildElement<ConditionExpression> conditionExpressionCollection
Constructor Detail

SequenceFlowImpl

public SequenceFlowImpl(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext context)
Method Detail

registerType

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

builder

public SequenceFlowBuilder builder()
Description copied from interface: BpmnModelElementInstance
Returns a new fluent builder for the element if implemented.

Specified by:
builder in interface BpmnModelElementInstance
Specified by:
builder in interface SequenceFlow
Overrides:
builder in class BpmnModelElementInstanceImpl
Returns:
the builder object

getSource

public FlowNode getSource()
Specified by:
getSource in interface SequenceFlow

setSource

public void setSource(FlowNode source)
Specified by:
setSource in interface SequenceFlow

getTarget

public FlowNode getTarget()
Specified by:
getTarget in interface SequenceFlow

setTarget

public void setTarget(FlowNode target)
Specified by:
setTarget in interface SequenceFlow

isImmediate

public boolean isImmediate()
Specified by:
isImmediate in interface SequenceFlow

setImmediate

public void setImmediate(boolean isImmediate)
Specified by:
setImmediate in interface SequenceFlow

getConditionExpression

public ConditionExpression getConditionExpression()
Specified by:
getConditionExpression in interface SequenceFlow

setConditionExpression

public void setConditionExpression(ConditionExpression conditionExpression)
Specified by:
setConditionExpression in interface SequenceFlow

removeConditionExpression

public void removeConditionExpression()
Specified by:
removeConditionExpression in interface SequenceFlow

getDiagramElement

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


Copyright © 2017 camunda services GmbH. All rights reserved.