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

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.ActivityImpl
                          extended by org.camunda.bpm.model.bpmn.impl.instance.SubProcessImpl
All Implemented Interfaces:
Activity, BaseElement, BpmnModelElementInstance, FlowElement, FlowNode, InteractionNode, SubProcess, org.camunda.bpm.model.xml.instance.ModelElementInstance
Direct Known Subclasses:
TransactionImpl

public class SubProcessImpl
extends ActivityImpl
implements SubProcess

The BPMN subProcess element

Author:
Sebastian Menski

Field Summary
protected static org.camunda.bpm.model.xml.type.child.ChildElementCollection<Artifact> artifactCollection
           
protected static org.camunda.bpm.model.xml.type.attribute.Attribute<Boolean> camundaAsyncAttribute
          camunda extensions
protected static org.camunda.bpm.model.xml.type.child.ChildElementCollection<FlowElement> flowElementCollection
           
protected static org.camunda.bpm.model.xml.type.child.ChildElementCollection<LaneSet> laneSetCollection
           
protected static org.camunda.bpm.model.xml.type.attribute.Attribute<Boolean> triggeredByEventAttribute
           
 
Fields inherited from class org.camunda.bpm.model.bpmn.impl.instance.ActivityImpl
completionQuantityAttribute, dataInputAssociationCollection, dataOutputAssociationCollection, defaultAttribute, ioSpecificationChild, isForCompensationAttribute, loopCharacteristicsChild, propertyCollection, resourceRoleCollection, startQuantityAttribute
 
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
SubProcessImpl(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext context)
           
 
Method Summary
 SubProcessBuilder builder()
          Returns a new fluent builder for the element if implemented.
 Collection<Artifact> getArtifacts()
           
 Collection<FlowElement> getFlowElements()
           
 Collection<LaneSet> getLaneSets()
           
 boolean isCamundaAsync()
          Deprecated. use isCamundaAsyncBefore() instead.
static void registerType(org.camunda.bpm.model.xml.ModelBuilder modelBuilder)
           
 void setCamundaAsync(boolean isCamundaAsync)
          Deprecated. use setCamundaAsyncBefore(isCamundaAsyncBefore) instead.
 void setTriggeredByEvent(boolean triggeredByEvent)
           
 boolean triggeredByEvent()
           
 
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.ActivityImpl
getCompletionQuantity, getDataInputAssociations, getDataOutputAssociations, getDefault, getIoSpecification, getLoopCharacteristics, getProperties, getResourceRoles, getStartQuantity, isForCompensation, setCompletionQuantity, setDefault, setForCompensation, setIoSpecification, setLoopCharacteristics, setStartQuantity
 
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
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.Activity
getCompletionQuantity, getDataInputAssociations, getDataOutputAssociations, getDefault, getIoSpecification, getLoopCharacteristics, getProperties, getResourceRoles, getStartQuantity, isForCompensation, setCompletionQuantity, setDefault, setForCompensation, setIoSpecification, setLoopCharacteristics, setStartQuantity
 
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
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.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
 
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.InteractionNode
getId, setId
 

Field Detail

triggeredByEventAttribute

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

laneSetCollection

protected static org.camunda.bpm.model.xml.type.child.ChildElementCollection<LaneSet> laneSetCollection

flowElementCollection

protected static org.camunda.bpm.model.xml.type.child.ChildElementCollection<FlowElement> flowElementCollection

artifactCollection

protected static org.camunda.bpm.model.xml.type.child.ChildElementCollection<Artifact> artifactCollection

camundaAsyncAttribute

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

Constructor Detail

SubProcessImpl

public SubProcessImpl(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 SubProcessBuilder 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 SubProcess
Overrides:
builder in class FlowNodeImpl
Returns:
the builder object

triggeredByEvent

public boolean triggeredByEvent()
Specified by:
triggeredByEvent in interface SubProcess

setTriggeredByEvent

public void setTriggeredByEvent(boolean triggeredByEvent)
Specified by:
setTriggeredByEvent in interface SubProcess

getLaneSets

public Collection<LaneSet> getLaneSets()
Specified by:
getLaneSets in interface SubProcess

getFlowElements

public Collection<FlowElement> getFlowElements()
Specified by:
getFlowElements in interface SubProcess

getArtifacts

public Collection<Artifact> getArtifacts()
Specified by:
getArtifacts in interface SubProcess

isCamundaAsync

@Deprecated
public boolean isCamundaAsync()
Deprecated. use isCamundaAsyncBefore() instead.

Specified by:
isCamundaAsync in interface SubProcess

setCamundaAsync

@Deprecated
public void setCamundaAsync(boolean isCamundaAsync)
Deprecated. use setCamundaAsyncBefore(isCamundaAsyncBefore) instead.

Specified by:
setCamundaAsync in interface SubProcess


Copyright © 2017 camunda services GmbH. All rights reserved.