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:
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 java.util.List<Artifact>
artifactList
protected java.util.List<ValuedDataObject>
dataObjects
protected java.util.List<FlowElement>
flowElementList
protected java.util.Map<java.lang.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 void
addArtifact(Artifact artifact)
void
addFlowElement(FlowElement element)
void
addFlowElementToMap(FlowElement element)
SubProcess
clone()
boolean
containsFlowElementId(java.lang.String id)
Artifact
getArtifact(java.lang.String id)
java.util.Collection<Artifact>
getArtifacts()
java.util.List<ValuedDataObject>
getDataObjects()
FlowElement
getFlowElement(java.lang.String id)
java.util.Map<java.lang.String,FlowElement>
getFlowElementMap()
java.util.Collection<FlowElement>
getFlowElements()
void
removeArtifact(java.lang.String artifactId)
void
removeFlowElement(java.lang.String elementId)
void
removeFlowElementFromMap(java.lang.String elementId)
void
setDataObjects(java.util.List<ValuedDataObject> dataObjects)
void
setFlowElementMap(java.util.Map<java.lang.String,FlowElement> flowElementMap)
void
setValues(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 java.util.Map<java.lang.String,FlowElement> flowElementMap
-
flowElementList
protected java.util.List<FlowElement> flowElementList
-
artifactList
protected java.util.List<Artifact> artifactList
-
dataObjects
protected java.util.List<ValuedDataObject> dataObjects
-
-
Method Detail
-
getFlowElement
public FlowElement getFlowElement(java.lang.String id)
- Specified by:
getFlowElement
in interfaceFlowElementsContainer
-
getFlowElements
public java.util.Collection<FlowElement> getFlowElements()
- Specified by:
getFlowElements
in interfaceFlowElementsContainer
-
addFlowElement
public void addFlowElement(FlowElement element)
- Specified by:
addFlowElement
in interfaceFlowElementsContainer
-
addFlowElementToMap
public void addFlowElementToMap(FlowElement element)
- Specified by:
addFlowElementToMap
in interfaceFlowElementsContainer
-
removeFlowElement
public void removeFlowElement(java.lang.String elementId)
- Specified by:
removeFlowElement
in interfaceFlowElementsContainer
-
removeFlowElementFromMap
public void removeFlowElementFromMap(java.lang.String elementId)
- Specified by:
removeFlowElementFromMap
in interfaceFlowElementsContainer
-
getFlowElementMap
public java.util.Map<java.lang.String,FlowElement> getFlowElementMap()
- Specified by:
getFlowElementMap
in interfaceFlowElementsContainer
-
setFlowElementMap
public void setFlowElementMap(java.util.Map<java.lang.String,FlowElement> flowElementMap)
-
containsFlowElementId
public boolean containsFlowElementId(java.lang.String id)
-
getArtifact
public Artifact getArtifact(java.lang.String id)
- Specified by:
getArtifact
in interfaceFlowElementsContainer
-
getArtifacts
public java.util.Collection<Artifact> getArtifacts()
- Specified by:
getArtifacts
in interfaceFlowElementsContainer
-
addArtifact
public void addArtifact(Artifact artifact)
- Specified by:
addArtifact
in interfaceFlowElementsContainer
-
removeArtifact
public void removeArtifact(java.lang.String artifactId)
- Specified by:
removeArtifact
in interfaceFlowElementsContainer
-
clone
public SubProcess clone()
- Specified by:
clone
in classFlowElement
-
setValues
public void setValues(SubProcess otherElement)
-
getDataObjects
public java.util.List<ValuedDataObject> getDataObjects()
-
setDataObjects
public void setDataObjects(java.util.List<ValuedDataObject> dataObjects)
-
-