Class BPMN2Profile.CompensationThrowIntermediateEventStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.CompensationThrowIntermediateEventStereotype
-
- Enclosing class:
- BPMN2Profile
public static class BPMN2Profile.CompensationThrowIntermediateEventStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACTIVITYREF
For a Start Event: This Event catches the compensation for an Event Sub-Process.static java.lang.String
DATAINPUT
static java.lang.String
ID
This attribute is used to uniquely identify BPMN elements.static java.lang.String
INPUTSET
static java.lang.String
STEREOTYPE_NAME
static java.lang.String
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
-
Constructor Summary
Constructors Modifier Constructor Description protected
CompensationThrowIntermediateEventStereotype(BPMN2Profile profile)
-
Method Summary
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
DATAINPUT
public static final java.lang.String DATAINPUT
- See Also:
- Constant Field Values
-
INPUTSET
public static final java.lang.String INPUTSET
- See Also:
- Constant Field Values
-
ID
public static final java.lang.String ID
This attribute is used to uniquely identify BPMN elements.- See Also:
- Constant Field Values
-
ACTIVITYREF
public static final java.lang.String 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:
- Constant Field Values
-
WAITFORCOMPLETION
public static final java.lang.String 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:
- Constant Field Values
-
-
Constructor Detail
-
CompensationThrowIntermediateEventStereotype
protected CompensationThrowIntermediateEventStereotype(BPMN2Profile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getDataInputProperty
@CheckForNull public Property getDataInputProperty()
-
getInputSetProperty
@CheckForNull public Property getInputSetProperty()
-
getIdProperty
@CheckForNull public Property getIdProperty()
-
getActivityRefProperty
@CheckForNull public Property getActivityRefProperty()
-
getWaitForCompletionProperty
@CheckForNull public Property getWaitForCompletionProperty()
-
clearDataInput
public void clearDataInput(Element element)
-
clearInputSet
public void clearInputSet(Element element)
-
setId
public void setId(Element element, @CheckForNull java.lang.String value)
-
clearId
public void clearId(Element element)
-
getId
@CheckForNull public java.lang.String getId(Element element)
-
clearActivityRef
public void clearActivityRef(Element element)
-
setWaitForCompletion
public void setWaitForCompletion(Element element, @CheckForNull java.lang.Boolean value)
-
clearWaitForCompletion
public void clearWaitForCompletion(Element element)
-
isWaitForCompletion
@CheckForNull public java.lang.Boolean isWaitForCompletion(Element element)
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-