Package org.activiti.bpmn.model
Class SubProcess
- java.lang.Object
-
- org.activiti.bpmn.model.BaseElement
-
- org.activiti.bpmn.model.FlowElement
-
- org.activiti.bpmn.model.FlowNode
-
- org.activiti.bpmn.model.Activity
-
- org.activiti.bpmn.model.SubProcess
-
- All Implemented Interfaces:
AcceptUpdates,FlowElementsContainer,HasExecutionListeners,HasExtensionAttributes
- Direct Known Subclasses:
AdhocSubProcess,EventSubProcess,Transaction
public class SubProcess extends Activity implements FlowElementsContainer
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Artifact>artifactListprotected List<ValuedDataObject>dataObjectsprotected List<FlowElement>flowElementListprotected Map<String,FlowElement>flowElementMap-
Fields inherited from class org.activiti.bpmn.model.Activity
boundaryEvents, dataInputAssociations, dataOutputAssociations, defaultFlow, failedJobRetryTimeCycleValue, forCompensation, ioSpecification, loopCharacteristics, mapExceptions
-
Fields inherited from class org.activiti.bpmn.model.FlowNode
asynchronous, behavior, incomingFlows, notExclusive, outgoingFlows
-
Fields inherited from class org.activiti.bpmn.model.FlowElement
documentation, executionListeners, name, parentContainer
-
Fields inherited from class org.activiti.bpmn.model.BaseElement
attributes, extensionElements, id, xmlColumnNumber, xmlRowNumber
-
-
Constructor Summary
Constructors Constructor Description SubProcess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(ReferenceOverrider referenceOverrider)voidaddArtifact(Artifact artifact)voidaddFlowElement(FlowElement element)voidaddFlowElementToMap(FlowElement element)SubProcessclone()booleancontainsFlowElementId(String id)ArtifactgetArtifact(String id)Collection<Artifact>getArtifacts()List<ValuedDataObject>getDataObjects()FlowElementgetFlowElement(String id)Map<String,FlowElement>getFlowElementMap()Collection<FlowElement>getFlowElements()voidremoveArtifact(String artifactId)voidremoveFlowElement(String elementId)voidremoveFlowElementFromMap(String elementId)voidsetDataObjects(List<ValuedDataObject> dataObjects)voidsetFlowElementMap(Map<String,FlowElement> flowElementMap)voidsetValues(SubProcess otherElement)-
Methods inherited from class org.activiti.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.activiti.bpmn.model.FlowNode
getBehavior, getIncomingFlows, getOutgoingFlows, isAsynchronous, isExclusive, isNotExclusive, setAsynchronous, setBehavior, setExclusive, setIncomingFlows, setNotExclusive, setOutgoingFlows, setValues
-
Methods inherited from class org.activiti.bpmn.model.FlowElement
getDocumentation, getExecutionListeners, getName, getParentContainer, getSubProcess, setDocumentation, setExecutionListeners, setName, setParentContainer, setValues
-
Methods inherited from class org.activiti.bpmn.model.BaseElement
addAttribute, addExtensionElement, getAttributes, getAttributeValue, getExtensionElements, getId, getXmlColumnNumber, getXmlRowNumber, setAttributes, setExtensionElements, setId, setValues, setXmlColumnNumber, setXmlRowNumber
-
-
-
-
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)
-
getArtifact
public Artifact getArtifact(String id)
- Specified by:
getArtifactin interfaceFlowElementsContainer
-
getArtifacts
public Collection<Artifact> getArtifacts()
- Specified by:
getArtifactsin interfaceFlowElementsContainer
-
addArtifact
public void addArtifact(Artifact artifact)
- Specified by:
addArtifactin 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)
-
accept
public void accept(ReferenceOverrider referenceOverrider)
- Specified by:
acceptin interfaceAcceptUpdates
-
-