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
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
ID
This attribute is used to uniquely identify BPMN elements.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
CompenstationEventDefinitionStereotype(BPMN2Profile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearActivityRef(Element element)
void
clearId(Element element)
void
clearWaitForCompletion(Element element)
Element
getActivityRef(Element element)
Property
getActivityRefProperty()
java.lang.String
getId(Element element)
Property
getIdProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.Property
getWaitForCompletionProperty()
boolean
is(Element element)
static boolean
isInstance(Element element)
java.lang.Boolean
isWaitForCompletion(Element element)
void
setActivityRef(Element element, Element value)
void
setId(Element element, java.lang.String value)
void
setWaitForCompletion(Element element, java.lang.Boolean value)
-
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
-
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
-
ID
public static final java.lang.String ID
This attribute is used to uniquely identify BPMN elements.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CompenstationEventDefinitionStereotype
protected CompenstationEventDefinitionStereotype(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
-
getActivityRefProperty
@CheckForNull public Property getActivityRefProperty()
-
getWaitForCompletionProperty
@CheckForNull public Property getWaitForCompletionProperty()
-
getIdProperty
@CheckForNull public Property getIdProperty()
-
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)
-
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)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-