Class FlowNodeImpl
- 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.FlowElementImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.FlowNodeImpl
-
- All Implemented Interfaces:
BaseElement
,BpmnModelElementInstance
,FlowElement
,FlowNode
,ModelElementInstance
- Direct Known Subclasses:
ActivityImpl
,EventImpl
,GatewayImpl
public abstract class FlowNodeImpl extends FlowElementImpl implements FlowNode
The BPMN flowNode element- Author:
- Sebastian Menski
-
-
Field Summary
Fields Modifier and Type Field Description protected static Attribute<java.lang.Boolean>
camundaAsyncAfter
Camunda Attributesprotected static Attribute<java.lang.Boolean>
camundaAsyncBefore
protected static Attribute<java.lang.Boolean>
camundaExclusive
protected static Attribute<java.lang.String>
camundaJobPriority
protected static ElementReferenceCollection<SequenceFlow,Incoming>
incomingCollection
protected static ElementReferenceCollection<SequenceFlow,Outgoing>
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
Constructors Constructor Description FlowNodeImpl(ModelTypeInstanceContext context)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractFlowNodeBuilder
builder()
Returns a new fluent builder for the element if implemented.java.lang.String
getCamundaJobPriority()
java.util.Collection<SequenceFlow>
getIncoming()
java.util.Collection<SequenceFlow>
getOutgoing()
Query<FlowNode>
getPreviousNodes()
Query<FlowNode>
getSucceedingNodes()
boolean
isCamundaAsyncAfter()
boolean
isCamundaAsyncBefore()
Camunda Attributesboolean
isCamundaExclusive()
static void
registerType(ModelBuilder modelBuilder)
void
setCamundaAsyncAfter(boolean isCamundaAsyncAfter)
void
setCamundaAsyncBefore(boolean isCamundaAsyncBefore)
void
setCamundaExclusive(boolean isCamundaExclusive)
void
setCamundaJobPriority(java.lang.String jobPriority)
void
updateAfterReplacement()
Execute updates after the element was inserted as a replacement of another element.-
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
getDiagramElement, 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.BaseElement
getDiagramElement, 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.bpmn.instance.FlowElement
getAuditing, getCategoryValueRefs, getMonitoring, getName, setAuditing, setMonitoring, setName
-
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
-
-
-
-
Field Detail
-
incomingCollection
protected static ElementReferenceCollection<SequenceFlow,Incoming> incomingCollection
-
outgoingCollection
protected static ElementReferenceCollection<SequenceFlow,Outgoing> outgoingCollection
-
camundaAsyncAfter
protected static Attribute<java.lang.Boolean> camundaAsyncAfter
Camunda Attributes
-
camundaAsyncBefore
protected static Attribute<java.lang.Boolean> camundaAsyncBefore
-
camundaExclusive
protected static Attribute<java.lang.Boolean> camundaExclusive
-
camundaJobPriority
protected static Attribute<java.lang.String> camundaJobPriority
-
-
Constructor Detail
-
FlowNodeImpl
public FlowNodeImpl(ModelTypeInstanceContext context)
-
-
Method Detail
-
registerType
public static void registerType(ModelBuilder modelBuilder)
-
builder
public AbstractFlowNodeBuilder builder()
Description copied from interface:BpmnModelElementInstance
Returns a new fluent builder for the element if implemented.- Specified by:
builder
in interfaceBpmnModelElementInstance
- Specified by:
builder
in interfaceFlowNode
- Overrides:
builder
in classBpmnModelElementInstanceImpl
- Returns:
- the builder object
-
updateAfterReplacement
public void updateAfterReplacement()
Description copied from interface:ModelElementInstance
Execute updates after the element was inserted as a replacement of another element.- Specified by:
updateAfterReplacement
in interfaceModelElementInstance
- Overrides:
updateAfterReplacement
in classModelElementInstanceImpl
-
getIncoming
public java.util.Collection<SequenceFlow> getIncoming()
- Specified by:
getIncoming
in interfaceFlowNode
-
getOutgoing
public java.util.Collection<SequenceFlow> getOutgoing()
- Specified by:
getOutgoing
in interfaceFlowNode
-
getPreviousNodes
public Query<FlowNode> getPreviousNodes()
- Specified by:
getPreviousNodes
in interfaceFlowNode
-
getSucceedingNodes
public Query<FlowNode> getSucceedingNodes()
- Specified by:
getSucceedingNodes
in interfaceFlowNode
-
isCamundaAsyncBefore
public boolean isCamundaAsyncBefore()
Camunda Attributes- Specified by:
isCamundaAsyncBefore
in interfaceFlowNode
-
setCamundaAsyncBefore
public void setCamundaAsyncBefore(boolean isCamundaAsyncBefore)
- Specified by:
setCamundaAsyncBefore
in interfaceFlowNode
-
isCamundaAsyncAfter
public boolean isCamundaAsyncAfter()
- Specified by:
isCamundaAsyncAfter
in interfaceFlowNode
-
setCamundaAsyncAfter
public void setCamundaAsyncAfter(boolean isCamundaAsyncAfter)
- Specified by:
setCamundaAsyncAfter
in interfaceFlowNode
-
isCamundaExclusive
public boolean isCamundaExclusive()
- Specified by:
isCamundaExclusive
in interfaceFlowNode
-
setCamundaExclusive
public void setCamundaExclusive(boolean isCamundaExclusive)
- Specified by:
setCamundaExclusive
in interfaceFlowNode
-
getCamundaJobPriority
public java.lang.String getCamundaJobPriority()
- Specified by:
getCamundaJobPriority
in interfaceFlowNode
-
setCamundaJobPriority
public void setCamundaJobPriority(java.lang.String jobPriority)
- Specified by:
setCamundaJobPriority
in interfaceFlowNode
-
-