Package org.flowable.bpmn.model
Class SubProcess
- java.lang.Object
-
- org.flowable.bpmn.model.BaseElement
-
- org.flowable.bpmn.model.FlowElement
-
- org.flowable.bpmn.model.FlowNode
-
- org.flowable.bpmn.model.Activity
-
- org.flowable.bpmn.model.SubProcess
-
- All Implemented Interfaces:
FlowElementsContainer,HasExecutionListeners,HasExtensionAttributes
- Direct Known Subclasses:
AdhocSubProcess,EventSubProcess,Transaction
public class SubProcess extends Activity implements FlowElementsContainer
- Author:
- Tijs Rademakers
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Artifact>artifactListprotected Map<String,Artifact>artifactMapprotected List<ValuedDataObject>dataObjectsprotected List<FlowElement>flowElementListprotected Map<String,FlowElement>flowElementMap-
Fields inherited from class org.flowable.bpmn.model.Activity
boundaryEvents, dataInputAssociations, dataOutputAssociations, defaultFlow, failedJobRetryTimeCycleValue, forCompensation, ioSpecification, loopCharacteristics, mapExceptions
-
Fields inherited from class org.flowable.bpmn.model.FlowNode
asynchronous, asynchronousLeave, asynchronousLeaveNotExclusive, behavior, incomingFlows, notExclusive, outgoingFlows
-
Fields inherited from class org.flowable.bpmn.model.FlowElement
documentation, executionListeners, name, parentContainer
-
Fields inherited from class org.flowable.bpmn.model.BaseElement
attributes, extensionElements, id, xmlColumnNumber, xmlRowNumber
-
-
Constructor Summary
Constructors Constructor Description SubProcess()
-
Method Summary
-
Methods inherited from class org.flowable.bpmn.model.Activity
getBoundaryEvents, getDataInputAssociations, getDataOutputAssociations, getDefaultFlow, getFailedJobRetryTimeCycleValue, getIoSpecification, getLoopCharacteristics, getMapExceptions, hasMultiInstanceLoopCharacteristics, isForCompensation, setBoundaryEvents, setDataInputAssociations, setDataOutputAssociations, setDefaultFlow, setFailedJobRetryTimeCycleValue, setForCompensation, setIoSpecification, setLoopCharacteristics, setMapExceptions, setValues
-
Methods inherited from class org.flowable.bpmn.model.FlowNode
getBehavior, getIncomingFlows, getOutgoingFlows, isAsynchronous, isAsynchronousLeave, isAsynchronousLeaveExclusive, isAsynchronousLeaveNotExclusive, isExclusive, isNotExclusive, setAsynchronous, setAsynchronousLeave, setAsynchronousLeaveExclusive, setAsynchronousLeaveNotExclusive, setBehavior, setExclusive, setIncomingFlows, setNotExclusive, setOutgoingFlows, setValues
-
Methods inherited from class org.flowable.bpmn.model.FlowElement
getDocumentation, getExecutionListeners, getName, getParentContainer, getSubProcess, setDocumentation, setExecutionListeners, setName, setParentContainer, setValues
-
Methods inherited from class org.flowable.bpmn.model.BaseElement
addAttribute, addExtensionElement, getAttributes, getAttributeValue, getExtensionElements, getId, getXmlColumnNumber, getXmlRowNumber, setAttributes, setExtensionElements, setId, setValues, setXmlColumnNumber, setXmlRowNumber
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.flowable.bpmn.model.FlowElementsContainer
getId
-
-
-
-
Field Detail
-
flowElementMap
protected Map<String,FlowElement> flowElementMap
-
flowElementList
protected List<FlowElement> flowElementList
-
dataObjects
protected List<ValuedDataObject> dataObjects
-
-
Method Detail
-
getFlowElement
public FlowElement getFlowElement(String id)
- Specified by:
getFlowElementin interfaceFlowElementsContainer
-
getFlowElements
public Collection<FlowElement> getFlowElements()
- Specified by:
getFlowElementsin interfaceFlowElementsContainer
-
addFlowElement
public void addFlowElement(FlowElement element)
- Specified by:
addFlowElementin interfaceFlowElementsContainer
-
addFlowElementToMap
public void addFlowElementToMap(FlowElement element)
- Specified by:
addFlowElementToMapin interfaceFlowElementsContainer
-
removeFlowElement
public void removeFlowElement(String elementId)
- Specified by:
removeFlowElementin interfaceFlowElementsContainer
-
removeFlowElementFromMap
public void removeFlowElementFromMap(String elementId)
- Specified by:
removeFlowElementFromMapin interfaceFlowElementsContainer
-
getFlowElementMap
public Map<String,FlowElement> getFlowElementMap()
- Specified by:
getFlowElementMapin interfaceFlowElementsContainer
-
setFlowElementMap
public void setFlowElementMap(Map<String,FlowElement> flowElementMap)
-
containsFlowElementId
public boolean containsFlowElementId(String id)
-
findFirstSubFlowElementInFlowMapOfType
public <T extends FlowElement> T findFirstSubFlowElementInFlowMapOfType(Class<T> clazz)
-
findAllSubFlowElementInFlowMapOfType
public <T extends FlowElement> List<T> findAllSubFlowElementInFlowMapOfType(Class<T> clazz)
-
getArtifact
public Artifact getArtifact(String id)
- Specified by:
getArtifactin interfaceFlowElementsContainer
-
getArtifacts
public Collection<Artifact> getArtifacts()
- Specified by:
getArtifactsin interfaceFlowElementsContainer
-
getArtifactMap
public Map<String,Artifact> getArtifactMap()
- Specified by:
getArtifactMapin interfaceFlowElementsContainer
-
addArtifact
public void addArtifact(Artifact artifact)
- Specified by:
addArtifactin interfaceFlowElementsContainer
-
addArtifactToMap
public void addArtifactToMap(Artifact artifact)
- Specified by:
addArtifactToMapin interfaceFlowElementsContainer
-
removeArtifact
public void removeArtifact(String artifactId)
- Specified by:
removeArtifactin interfaceFlowElementsContainer
-
clone
public SubProcess clone()
- Specified by:
clonein classFlowElement
-
setValues
public void setValues(SubProcess otherElement)
-
getDataObjects
public List<ValuedDataObject> getDataObjects()
-
setDataObjects
public void setDataObjects(List<ValuedDataObject> dataObjects)
-
-