Class BPMN2Profile.AdHocSubProcessStereotype
java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.AdHocSubProcessStereotype
- Enclosing class:
- BPMN2Profile
public static class BPMN2Profile.AdHocSubProcessStereotype
extends ProfileImplementation.StereotypeWrapper
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
This attribute is used only if ordering is parallel.static final String
This Expression defines the conditions when the Process will end.static final String
The default value is 1.static final String
The Sequence Flow that will receive a token when none of the conditionExpressions on other outgoing Sequence Flows evaluate to true.static final String
This attribute is used to uniquely identify BPMN elements.static final String
static final String
A flag that identifies whether this activity is intended for the purposes of compensation.static final String
This attribute defines if the Activities within the Process can be performed in parallel or MUST be performed sequentially.static final String
static final String
Defines the resource that will perform or will be responsible for the activity.static final String
The default value is 1.static final String
static final String
static final String
A flag that identifies whether this Sub-Process is an Event Sub-Process. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBoundaryEventRefs
(Element element, Element value) void
addResources
(Element element, Element value) protected void
clear()
void
clearBoundaryEventRefs
(Element element) void
clearCancelRemainingInstances
(Element element) void
clearCompletionCondition
(Element element) void
clearCompletionQuantity
(Element element) void
clearDefault
(Element element) void
void
clearIoSpecification
(Element element) void
clearIsForCompensation
(Element element) void
clearOrdering
(Element element) void
clearReferencedDiagram
(Element element) void
clearResources
(Element element) void
clearStartQuantity
(Element element) void
clearState
(Element element) void
clearTriggeredByEvent
(Element element) getBoundaryEventRefs
(Element element) getCompletionCondition
(Element element) getCompletionQuantity
(Element element) getDefault
(Element element) getIoSpecification
(Element element) getOrdering
(Element element) getReferencedDiagram
(Element element) getResources
(Element element) getStartQuantity
(Element element) Returns stereotype for this wrapper.boolean
isCancelRemainingInstances
(Element element) static boolean
isInstance
(Element element) isIsForCompensation
(Element element) isTriggeredByEvent
(Element element) void
removeBoundaryEventRefs
(Element element, Element value) void
removeResources
(Element element, Element value) void
setBoundaryEventRefs
(Element element, Collection<? extends Element> value) void
setCancelRemainingInstances
(Element element, Boolean value) void
setCompletionCondition
(Element element, String value) void
setCompletionQuantity
(Element element, Integer value) void
setDefault
(Element element, Element value) void
void
setIoSpecification
(Element element, Element value) void
setIsForCompensation
(Element element, Boolean value) void
setOrdering
(Element element, BPMN2Profile.AdHocOrderingEnum value) void
setReferencedDiagram
(Element element, Element value) void
setResources
(Element element, Collection<? extends Element> value) void
setStartQuantity
(Element element, Integer value) void
setState
(Element element, BPMN2Profile.Activity_StateEnum value) void
setTriggeredByEvent
(Element element, Boolean value) Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Field Details
-
STEREOTYPE_NAME
- See Also:
-
CANCELREMAININGINSTANCES
This attribute is used only if ordering is parallel. It determines whether running instances are canceled when the completionCondition becomes true.- See Also:
-
COMPLETIONCONDITION
This Expression defines the conditions when the Process will end. When the Expression is evaluated to true, the Process will be terminated.- See Also:
-
ORDERING
This attribute defines if the Activities within the Process can be performed in parallel or MUST be performed sequentially. The default setting is parallel and the setting of sequential is a restriction on the performance that can be needed due to shared resources. When the setting is sequential, then only one Activity can be performed at a time. When the setting is parallel, then zero (0) to all the Activities of the Sub-Process can be performed in parallel.- See Also:
-
REFERENCEDDIAGRAM
- See Also:
-
TRIGGEREDBYEVENT
A flag that identifies whether this Sub-Process is an Event Sub-Process. If false, then this Sub-Process is a normal Sub-Process. If true, the this Sub-Process is an Event Sub-Process and is subject to additional constraints.- See Also:
-
BOUNDARYEVENTREFS
- See Also:
-
COMPLETIONQUANTITY
The default value is 1. The value MUST NOT be less than 1. This attribute defines the number of tokens that must be generated from the Activity. This number of tokens will be sent done any outgoing Sequence Flow (assuming any Sequence Flow Conditions are satisfied). Note that any value for the attribute that is greater than 1 is an advanced type of modeling and should be used with caution.- See Also:
-
DEFAULT
The Sequence Flow that will receive a token when none of the conditionExpressions on other outgoing Sequence Flows evaluate to true. The default Sequence Flow should not have a conditionExpression. Any such Expression SHALL be ignored.- See Also:
-
IOSPECIFICATION
- See Also:
-
ISFORCOMPENSATION
A flag that identifies whether this activity is intended for the purposes of compensation. If false, then this activity executes as a result of normal execution flow. If true, this activity is only activated when a Compensation Event is detected and initiated under Compensation Event visibility scope.- See Also:
-
RESOURCES
Defines the resource that will perform or will be responsible for the activity. The resource, e.g. a performer, can be specified in the form of a specific individual, a group, an organization role or position, or an organization.- See Also:
-
STARTQUANTITY
The default value is 1. The value MUST NOT be less than 1. This attribute defines the number of tokens that must arrive before the Activity can begin. Note that any value for the attribute that is greater than 1 is an advanced type of modeling and should be used with caution.- See Also:
-
STATE
- See Also:
-
ID
This attribute is used to uniquely identify BPMN elements.- See Also:
-
-
Constructor Details
-
AdHocSubProcessStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getCancelRemainingInstancesProperty
-
getCompletionConditionProperty
-
getOrderingProperty
-
getReferencedDiagramProperty
-
getTriggeredByEventProperty
-
getBoundaryEventRefsProperty
-
getCompletionQuantityProperty
-
getDefaultProperty
-
getIoSpecificationProperty
-
getIsForCompensationProperty
-
getResourcesProperty
-
getStartQuantityProperty
-
getStateProperty
-
getIdProperty
-
setCancelRemainingInstances
-
clearCancelRemainingInstances
-
isCancelRemainingInstances
-
setCompletionCondition
-
clearCompletionCondition
-
getCompletionCondition
-
setOrdering
-
clearOrdering
-
getOrdering
-
setReferencedDiagram
-
clearReferencedDiagram
-
getReferencedDiagram
-
setTriggeredByEvent
-
clearTriggeredByEvent
-
isTriggeredByEvent
-
setBoundaryEventRefs
public void setBoundaryEventRefs(Element element, @CheckForNull Collection<? extends Element> value) -
clearBoundaryEventRefs
-
addBoundaryEventRefs
-
removeBoundaryEventRefs
-
getBoundaryEventRefs
-
setCompletionQuantity
-
clearCompletionQuantity
-
getCompletionQuantity
-
setDefault
-
clearDefault
-
getDefault
-
setIoSpecification
-
clearIoSpecification
-
getIoSpecification
-
setIsForCompensation
-
clearIsForCompensation
-
isIsForCompensation
-
setResources
-
clearResources
-
addResources
-
removeResources
-
getResources
-
setStartQuantity
-
clearStartQuantity
-
getStartQuantity
-
setState
-
clearState
-
getState
-
setId
-
clearId
-
getId
-
clear
protected void clear() -
is
-
isInstance
-