Class BPMN2Profile.CompenstationEventDefinitionStereotype
java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.CompenstationEventDefinitionStereotype
- Enclosing class:
- BPMN2Profile
public static class BPMN2Profile.CompenstationEventDefinitionStereotype
extends ProfileImplementation.StereotypeWrapper
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
For a Start Event: This Event catches the compensation for an Event Sub-Process.static final String
This attribute is used to uniquely identify BPMN elements.static final String
static final String
For a throw Compensation Event, this flag determines whether the throw Intermediate Event waits for the triggered compensation to complete (the default), or just triggers the compensation and immediately continues -
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
clear()
void
clearActivityRef
(Element element) void
void
clearWaitForCompletion
(Element element) getActivityRef
(Element element) Returns stereotype for this wrapper.boolean
static boolean
isInstance
(Element element) isWaitForCompletion
(Element element) void
setActivityRef
(Element element, Element value) void
void
setWaitForCompletion
(Element element, Boolean value) Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Field Details
-
STEREOTYPE_NAME
- See Also:
-
ACTIVITYREF
For a Start Event: This Event catches the compensation for an Event Sub-Process. No further information is required. The Event Sub-Process will provide the Id necessary to match the Compensation Event with the Event that threw the compensation, or the compensation will have been a broadcast. For an End Event: The Activity to be compensated MAY be supplied. If an Activity is not supplied, then the compensation is broadcast to all completed Activities in the current Sub-Process (if present), or the entire Process Instance (if at the global level). For an Intermediate Event within Normal Flow: The Activity to be compensated MAY be supplied. If an Activity is not supplied, then the compensation is broadcast to all completed Activities in the current Sub-Process (if present), or the entire Process Instance (if at the global level). This throws the compensation. For an Intermediate Event attached to the boundary of an Activity: This Event catches the compensation. No further information is required. The Activity the Event is attached to will provide the Id necessary to match the Compensation Event with the Event that threw the compensation, or the compensation will have been a broadcast.- See Also:
-
WAITFORCOMPLETION
For a throw Compensation Event, this flag determines whether the throw Intermediate Event waits for the triggered compensation to complete (the default), or just triggers the compensation and immediately continues- See Also:
-
ID
This attribute is used to uniquely identify BPMN elements.- See Also:
-
-
Constructor Details
-
CompenstationEventDefinitionStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getActivityRefProperty
-
getWaitForCompletionProperty
-
getIdProperty
-
setActivityRef
-
clearActivityRef
-
getActivityRef
-
setWaitForCompletion
-
clearWaitForCompletion
-
isWaitForCompletion
-
setId
-
clearId
-
getId
-
clear
protected void clear() -
is
-
isInstance
-