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

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.FlowNodeImpl
                      extended by org.camunda.bpm.model.bpmn.impl.instance.GatewayImpl
All Implemented Interfaces:
BaseElement, BpmnModelElementInstance, FlowElement, FlowNode, Gateway, org.camunda.bpm.model.xml.instance.ModelElementInstance
Direct Known Subclasses:
ComplexGatewayImpl, EventBasedGatewayImpl, ExclusiveGatewayImpl, InclusiveGatewayImpl, ParallelGatewayImpl

public abstract class GatewayImpl
extends FlowNodeImpl
implements Gateway

The BPMN gateway element

Author:
Sebastian Menski

Field Summary
protected static org.camunda.bpm.model.xml.type.attribute.Attribute<GatewayDirection> gatewayDirectionAttribute
           
 
Fields inherited from class org.camunda.bpm.model.bpmn.impl.instance.FlowNodeImpl
camundaAsyncAfter, camundaAsyncBefore, camundaExclusive, camundaJobPriority, incomingCollection, outgoingCollection
 
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
GatewayImpl(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext context)
           
 
Method Summary
abstract  AbstractGatewayBuilder builder()
          Returns a new fluent builder for the element if implemented.
 BpmnShape getDiagramElement()
           
 GatewayDirection getGatewayDirection()
           
static void registerType(org.camunda.bpm.model.xml.ModelBuilder modelBuilder)
           
 void setGatewayDirection(GatewayDirection gatewayDirection)
           
 
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.FlowNodeImpl
getCamundaJobPriority, getIncoming, getOutgoing, getPreviousNodes, getSucceedingNodes, isCamundaAsyncAfter, isCamundaAsyncBefore, isCamundaExclusive, setCamundaAsyncAfter, setCamundaAsyncBefore, setCamundaExclusive, setCamundaJobPriority, updateAfterReplacement
 
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
 
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.FlowNode
getCamundaJobPriority, getIncoming, getOutgoing, getPreviousNodes, getSucceedingNodes, isCamundaAsyncAfter, isCamundaAsyncBefore, isCamundaExclusive, setCamundaAsyncAfter, setCamundaAsyncBefore, setCamundaExclusive, setCamundaJobPriority
 
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

gatewayDirectionAttribute

protected static org.camunda.bpm.model.xml.type.attribute.Attribute<GatewayDirection> gatewayDirectionAttribute
Constructor Detail

GatewayImpl

public GatewayImpl(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 abstract AbstractGatewayBuilder 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 FlowNode
Specified by:
builder in interface Gateway
Overrides:
builder in class FlowNodeImpl
Returns:
the builder object

getGatewayDirection

public GatewayDirection getGatewayDirection()
Specified by:
getGatewayDirection in interface Gateway

setGatewayDirection

public void setGatewayDirection(GatewayDirection gatewayDirection)
Specified by:
setGatewayDirection in interface Gateway

getDiagramElement

public BpmnShape getDiagramElement()
Specified by:
getDiagramElement in interface BaseElement
Specified by:
getDiagramElement in interface Gateway
Overrides:
getDiagramElement in class BaseElementImpl


Copyright © 2017 camunda services GmbH. All rights reserved.