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 java.util.List<Artifact>artifactListprotected java.util.List<ValuedDataObject>dataObjectsprotected java.util.List<FlowElement>flowElementListprotected 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 voidaddArtifact(Artifact artifact)voidaddFlowElement(FlowElement element)voidaddFlowElementToMap(FlowElement element)SubProcessclone()booleancontainsFlowElementId(java.lang.String id)ArtifactgetArtifact(java.lang.String id)java.util.Collection<Artifact>getArtifacts()java.util.List<ValuedDataObject>getDataObjects()FlowElementgetFlowElement(java.lang.String id)java.util.Map<java.lang.String,FlowElement>getFlowElementMap()java.util.Collection<FlowElement>getFlowElements()voidremoveArtifact(java.lang.String artifactId)voidremoveFlowElement(java.lang.String elementId)voidremoveFlowElementFromMap(java.lang.String elementId)voidsetDataObjects(java.util.List<ValuedDataObject> dataObjects)voidsetFlowElementMap(java.util.Map<java.lang.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
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.activiti.bpmn.model.AcceptUpdates
accept
-
-
-
-
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:
getFlowElementin interfaceFlowElementsContainer
-
getFlowElements
public java.util.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(java.lang.String elementId)
- Specified by:
removeFlowElementin interfaceFlowElementsContainer
-
removeFlowElementFromMap
public void removeFlowElementFromMap(java.lang.String elementId)
- Specified by:
removeFlowElementFromMapin interfaceFlowElementsContainer
-
getFlowElementMap
public java.util.Map<java.lang.String,FlowElement> getFlowElementMap()
- Specified by:
getFlowElementMapin 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:
getArtifactin interfaceFlowElementsContainer
-
getArtifacts
public java.util.Collection<Artifact> getArtifacts()
- Specified by:
getArtifactsin interfaceFlowElementsContainer
-
addArtifact
public void addArtifact(Artifact artifact)
- Specified by:
addArtifactin interfaceFlowElementsContainer
-
removeArtifact
public void removeArtifact(java.lang.String artifactId)
- Specified by:
removeArtifactin interfaceFlowElementsContainer
-
clone
public SubProcess clone()
- Specified by:
clonein classFlowElement
-
setValues
public void setValues(SubProcess otherElement)
-
getDataObjects
public java.util.List<ValuedDataObject> getDataObjects()
-
setDataObjects
public void setDataObjects(java.util.List<ValuedDataObject> dataObjects)
-
-