Package jadex.bpmn.model
Class MSubProcess
A sub process represents an activity with and a sub activity flow.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe vertices.The artifacts.static final String
The name of the parameter identifying the multi instance iterator.protected String
The subprocess type (e.g.static final String
The event subprocess type.static final String
The default subprocess type.static final String
The parallel subprocess type.static final String
The looping subprocess type.Fields inherited from class jadex.bpmn.model.MActivity
activitytype, argumentinjections, bodymethod, cancelmethod, clazz, componentinjections, eventhandler, eventhandlers, IFACE, incomingmessagesdescriptions, incomingsequenceedgesdescription, indataedges, inmsgedges, inseqedges, ISSEQUENTIAL, ISSERVICE, lane, lanedescription, looping, METHOD, MI_NOTFOUND, outdataedges, outgoingmessagesdescriptions, outgoingsequenceedgesdescription, outmsgedges, outseqedges, parameters, pool, properties, resultinjections, RESULTNAME, RESULTTYPE, RETURNPARAM, throwing, type
Fields inherited from class jadex.bpmn.model.MAssociationTarget
associations, associationsdescription
Fields inherited from class jadex.bpmn.model.MNamedIdElement
description, name
Fields inherited from class jadex.bpmn.model.MAnnotationElement
annotations
Fields inherited from class jadex.bpmn.model.MIdElement
id, ID_GENERATOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addActivity
(MActivity activity) Add an activity.void
addArtifact
(MArtifact artifact) Add an artifact.Get the activities.getActivity
(String id) Get an activity per id.Get the artifacts.getEdges()
Get the edges.Get all start activities of the pool.Get the subprocess type.void
removeActivity
(MActivity vertex) Remove an activity.void
removeArtifact
(MArtifact artifact) Remove an artifact.void
setActivities
(List<MActivity> activities) Set the activities.void
setSubprocessType
(String subprocesstype) Set the subprocess type.Methods inherited from class jadex.bpmn.model.MActivity
addEventHandler, addIncomingDataEdge, addIncomingMessageDescription, addIncomingMessagingEdge, addIncomingSequenceEdge, addOutgoingDataEdge, addOutgoingMessageDescription, addOutgoingMessagingEdge, addOutgoingSequenceEdge, addParameter, addProperty, addProperty, addProperty, getActivityType, getAllParameters, getArgumentInjections, getBodyMethod, getCancelMethod, getClazz, getComponentInjections, getEventHandlers, getFields, getIncomingDataEdges, getIncomingMessagesDescriptions, getIncomingMessagingEdges, getIncomingSequenceEdges, getIncomingSequenceEdges, getIncomingSequenceEdgesDescription, getLane, getLaneDescription, getMethod, getOutgoingDataEdges, getOutgoingMessagesDescriptions, getOutgoingMessagingEdges, getOutgoingMessagingEdges, getOutgoingSequenceEdges, getOutgoingSequenceEdgesDescription, getParameter, getParameters, getParameters, getParsedPropertyValue, getPool, getProperties, getPropertyNames, getPropertyValue, getPropertyValueString, getResultInjections, getType, hasInitialPropertyValue, hasParameter, hasProperty, hasPropertyValue, isEndEvent, isEvent, isEventHandler, isGateway, isIntermediateEvent, isLooping, isMessageEvent, isSignalEvent, isStartEvent, isThrowing, removeEventHandler, removeIncomingDataEdge, removeIncomingMessageDescription, removeIncomingMessagingEdge, removeIncomingSequenceEdge, removeOutgoingDataEdge, removeOutgoingMessageDescription, removeOutgoingMessagingEdge, removeOutgoingSequenceEdge, removeParameter, removeParameter, removeParameters, removeProperty, removeProperty, setActivityType, setClazz, setEventHandler, setIncomingDataEdges, setIncomingMessagingEdges, setIncomingSequenceEdgesDescription, setLane, setLaneDescription, setLooping, setOutgoingDataEdges, setOutgoingSequenceEdges, setOutgoingSequenceEdgesDescription, setParameter, setParameters, setPool, setProperties, setProperty, setPropertyValue, setPropertyValue, setThrowing, setType, toString
Methods inherited from class jadex.bpmn.model.MAssociationTarget
addAssociation, getAssociations, getAssociationsDescription, removeAssociation, setAssociationsDescription
Methods inherited from class jadex.bpmn.model.MNamedIdElement
getDescription, getName, setDescription, setName
Methods inherited from class jadex.bpmn.model.MAnnotationElement
addAnnotation, getAnnotations
Methods inherited from class jadex.bpmn.model.MIdElement
equals, getId, hashCode, setId
-
Field Details
-
SUBPROCESSTYPE_NONE
The default subprocess type.- See Also:
-
SUBPROCESSTYPE_PARALLEL
The parallel subprocess type.- See Also:
-
SUBPROCESSTYPE_SEQUENTIAL
The looping subprocess type.- See Also:
-
SUBPROCESSTYPE_EVENT
The event subprocess type.- See Also:
-
MULTIINSTANCE_ITERATOR
The name of the parameter identifying the multi instance iterator.- See Also:
-
activities
The vertices. -
artifacts
The artifacts. -
subprocesstype
The subprocess type (e.g. looping).
-
-
Constructor Details
-
MSubProcess
public MSubProcess()
-
-
Method Details
-
getActivities
Get the activities.- Returns:
- The activities.
-
setActivities
Set the activities.- Parameters:
activities
- The activities.
-
getEdges
Get the edges.- Returns:
- The edges.
-
addActivity
Add an activity.- Parameters:
activity
- The activity.
-
removeActivity
Remove an activity.- Parameters:
activity
- The activity.
-
getActivity
Get an activity per id. -
getStartActivities
Get all start activities of the pool.- Returns:
- A non-empty List of start activities or null, if none.
-
getArtifacts
Get the artifacts.- Returns:
- The artifacts.
-
addArtifact
Add an artifact.- Parameters:
artifact
- The artifact.
-
removeArtifact
Remove an artifact.- Parameters:
artifact
- The artifact.
-
getSubprocessType
Get the subprocess type. -
setSubprocessType
Set the subprocess type.
-