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

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.RootElementImpl
                  extended by org.camunda.bpm.model.bpmn.impl.instance.CallableElementImpl
                      extended by org.camunda.bpm.model.bpmn.impl.instance.ProcessImpl
All Implemented Interfaces:
BaseElement, BpmnModelElementInstance, CallableElement, Process, RootElement, org.camunda.bpm.model.xml.instance.ModelElementInstance

public class ProcessImpl
extends CallableElementImpl
implements Process

The BPMN process element

Author:
Daniel Meyer, Sebastian Menski

Field Summary
protected static org.camunda.bpm.model.xml.type.child.ChildElementCollection<Artifact> artifactCollection
           
protected static org.camunda.bpm.model.xml.type.child.ChildElement<Auditing> auditingChild
           
protected static org.camunda.bpm.model.xml.type.attribute.Attribute<String> camundaCandidateStarterGroupsAttribute
          camunda extensions
protected static org.camunda.bpm.model.xml.type.attribute.Attribute<String> camundaCandidateStarterUsersAttribute
           
protected static org.camunda.bpm.model.xml.type.attribute.Attribute<String> camundaHistoryTimeToLiveAttribute
           
protected static org.camunda.bpm.model.xml.type.attribute.Attribute<String> camundaJobPriorityAttribute
           
protected static org.camunda.bpm.model.xml.type.attribute.Attribute<String> camundaTaskPriorityAttribute
           
protected static org.camunda.bpm.model.xml.type.child.ChildElementCollection<CorrelationSubscription> correlationSubscriptionCollection
           
protected static org.camunda.bpm.model.xml.type.child.ChildElementCollection<FlowElement> flowElementCollection
           
protected static org.camunda.bpm.model.xml.type.attribute.Attribute<Boolean> isClosedAttribute
           
protected static org.camunda.bpm.model.xml.type.attribute.Attribute<Boolean> isExecutableAttribute
           
protected static org.camunda.bpm.model.xml.type.child.ChildElementCollection<LaneSet> laneSetCollection
           
protected static org.camunda.bpm.model.xml.type.child.ChildElement<Monitoring> monitoringChild
           
protected static org.camunda.bpm.model.xml.type.attribute.Attribute<ProcessType> processTypeAttribute
           
protected static org.camunda.bpm.model.xml.type.child.ChildElementCollection<Property> propertyCollection
           
protected static org.camunda.bpm.model.xml.type.child.ChildElementCollection<ResourceRole> resourceRoleCollection
           
protected static org.camunda.bpm.model.xml.type.reference.ElementReferenceCollection<Process,Supports> supportsCollection
           
 
Fields inherited from class org.camunda.bpm.model.bpmn.impl.instance.CallableElementImpl
ioBindingCollection, ioSpecificationChild, nameAttribute, supportedInterfaceRefCollection
 
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
ProcessImpl(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext context)
           
 
Method Summary
 ProcessBuilder builder()
          Returns a new fluent builder for the element if implemented.
 Collection<Artifact> getArtifacts()
           
 Auditing getAuditing()
           
 String getCamundaCandidateStarterGroups()
          camunda extensions
 List<String> getCamundaCandidateStarterGroupsList()
           
 String getCamundaCandidateStarterUsers()
           
 List<String> getCamundaCandidateStarterUsersList()
           
 Integer getCamundaHistoryTimeToLive()
           
 String getCamundaHistoryTimeToLiveString()
           
 String getCamundaJobPriority()
           
 String getCamundaTaskPriority()
           
 Collection<CorrelationSubscription> getCorrelationSubscriptions()
           
 Collection<FlowElement> getFlowElements()
           
 Collection<LaneSet> getLaneSets()
           
 Monitoring getMonitoring()
           
 ProcessType getProcessType()
           
 Collection<Property> getProperties()
           
 Collection<ResourceRole> getResourceRoles()
           
 Collection<Process> getSupports()
           
 boolean isClosed()
           
 boolean isExecutable()
           
static void registerType(org.camunda.bpm.model.xml.ModelBuilder modelBuilder)
           
 void setAuditing(Auditing auditing)
           
 void setCamundaCandidateStarterGroups(String camundaCandidateStarterGroups)
           
 void setCamundaCandidateStarterGroupsList(List<String> camundaCandidateStarterGroupsList)
           
 void setCamundaCandidateStarterUsers(String camundaCandidateStarterUsers)
           
 void setCamundaCandidateStarterUsersList(List<String> camundaCandidateStarterUsersList)
           
 void setCamundaHistoryTimeToLive(Integer historyTimeToLive)
           
 void setCamundaHistoryTimeToLiveString(String historyTimeToLive)
           
 void setCamundaJobPriority(String jobPriority)
           
 void setCamundaTaskPriority(String taskPriority)
           
 void setClosed(boolean closed)
           
 void setExecutable(boolean executable)
           
 void setMonitoring(Monitoring monitoring)
           
 void setProcessType(ProcessType processType)
           
 
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.CallableElementImpl
getIoBindings, getIoSpecification, getName, getSupportedInterfaces, setIoSpecification, 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, 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.CallableElement
getIoBindings, getIoSpecification, getName, getSupportedInterfaces, setIoSpecification, 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
 

Field Detail

processTypeAttribute

protected static org.camunda.bpm.model.xml.type.attribute.Attribute<ProcessType> processTypeAttribute

isClosedAttribute

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

isExecutableAttribute

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

auditingChild

protected static org.camunda.bpm.model.xml.type.child.ChildElement<Auditing> auditingChild

monitoringChild

protected static org.camunda.bpm.model.xml.type.child.ChildElement<Monitoring> monitoringChild

propertyCollection

protected static org.camunda.bpm.model.xml.type.child.ChildElementCollection<Property> propertyCollection

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

resourceRoleCollection

protected static org.camunda.bpm.model.xml.type.child.ChildElementCollection<ResourceRole> resourceRoleCollection

correlationSubscriptionCollection

protected static org.camunda.bpm.model.xml.type.child.ChildElementCollection<CorrelationSubscription> correlationSubscriptionCollection

supportsCollection

protected static org.camunda.bpm.model.xml.type.reference.ElementReferenceCollection<Process,Supports> supportsCollection

camundaCandidateStarterGroupsAttribute

protected static org.camunda.bpm.model.xml.type.attribute.Attribute<String> camundaCandidateStarterGroupsAttribute
camunda extensions


camundaCandidateStarterUsersAttribute

protected static org.camunda.bpm.model.xml.type.attribute.Attribute<String> camundaCandidateStarterUsersAttribute

camundaJobPriorityAttribute

protected static org.camunda.bpm.model.xml.type.attribute.Attribute<String> camundaJobPriorityAttribute

camundaTaskPriorityAttribute

protected static org.camunda.bpm.model.xml.type.attribute.Attribute<String> camundaTaskPriorityAttribute

camundaHistoryTimeToLiveAttribute

protected static org.camunda.bpm.model.xml.type.attribute.Attribute<String> camundaHistoryTimeToLiveAttribute
Constructor Detail

ProcessImpl

public ProcessImpl(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 ProcessBuilder 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 Process
Overrides:
builder in class BpmnModelElementInstanceImpl
Returns:
the builder object

getProcessType

public ProcessType getProcessType()
Specified by:
getProcessType in interface Process

setProcessType

public void setProcessType(ProcessType processType)
Specified by:
setProcessType in interface Process

isClosed

public boolean isClosed()
Specified by:
isClosed in interface Process

setClosed

public void setClosed(boolean closed)
Specified by:
setClosed in interface Process

isExecutable

public boolean isExecutable()
Specified by:
isExecutable in interface Process

setExecutable

public void setExecutable(boolean executable)
Specified by:
setExecutable in interface Process

getAuditing

public Auditing getAuditing()
Specified by:
getAuditing in interface Process

setAuditing

public void setAuditing(Auditing auditing)
Specified by:
setAuditing in interface Process

getMonitoring

public Monitoring getMonitoring()
Specified by:
getMonitoring in interface Process

setMonitoring

public void setMonitoring(Monitoring monitoring)
Specified by:
setMonitoring in interface Process

getProperties

public Collection<Property> getProperties()
Specified by:
getProperties in interface Process

getLaneSets

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

getFlowElements

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

getArtifacts

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

getCorrelationSubscriptions

public Collection<CorrelationSubscription> getCorrelationSubscriptions()
Specified by:
getCorrelationSubscriptions in interface Process

getResourceRoles

public Collection<ResourceRole> getResourceRoles()
Specified by:
getResourceRoles in interface Process

getSupports

public Collection<Process> getSupports()
Specified by:
getSupports in interface Process

getCamundaCandidateStarterGroups

public String getCamundaCandidateStarterGroups()
camunda extensions

Specified by:
getCamundaCandidateStarterGroups in interface Process

setCamundaCandidateStarterGroups

public void setCamundaCandidateStarterGroups(String camundaCandidateStarterGroups)
Specified by:
setCamundaCandidateStarterGroups in interface Process

getCamundaCandidateStarterGroupsList

public List<String> getCamundaCandidateStarterGroupsList()
Specified by:
getCamundaCandidateStarterGroupsList in interface Process

setCamundaCandidateStarterGroupsList

public void setCamundaCandidateStarterGroupsList(List<String> camundaCandidateStarterGroupsList)
Specified by:
setCamundaCandidateStarterGroupsList in interface Process

getCamundaCandidateStarterUsers

public String getCamundaCandidateStarterUsers()
Specified by:
getCamundaCandidateStarterUsers in interface Process

setCamundaCandidateStarterUsers

public void setCamundaCandidateStarterUsers(String camundaCandidateStarterUsers)
Specified by:
setCamundaCandidateStarterUsers in interface Process

getCamundaCandidateStarterUsersList

public List<String> getCamundaCandidateStarterUsersList()
Specified by:
getCamundaCandidateStarterUsersList in interface Process

setCamundaCandidateStarterUsersList

public void setCamundaCandidateStarterUsersList(List<String> camundaCandidateStarterUsersList)
Specified by:
setCamundaCandidateStarterUsersList in interface Process

getCamundaJobPriority

public String getCamundaJobPriority()
Specified by:
getCamundaJobPriority in interface Process

setCamundaJobPriority

public void setCamundaJobPriority(String jobPriority)
Specified by:
setCamundaJobPriority in interface Process

getCamundaTaskPriority

public String getCamundaTaskPriority()
Specified by:
getCamundaTaskPriority in interface Process

setCamundaTaskPriority

public void setCamundaTaskPriority(String taskPriority)
Specified by:
setCamundaTaskPriority in interface Process

getCamundaHistoryTimeToLive

public Integer getCamundaHistoryTimeToLive()
Specified by:
getCamundaHistoryTimeToLive in interface Process

setCamundaHistoryTimeToLive

public void setCamundaHistoryTimeToLive(Integer historyTimeToLive)
Specified by:
setCamundaHistoryTimeToLive in interface Process

getCamundaHistoryTimeToLiveString

public String getCamundaHistoryTimeToLiveString()
Specified by:
getCamundaHistoryTimeToLiveString in interface Process

setCamundaHistoryTimeToLiveString

public void setCamundaHistoryTimeToLiveString(String historyTimeToLive)
Specified by:
setCamundaHistoryTimeToLiveString in interface Process


Copyright © 2017 camunda services GmbH. All rights reserved.