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.StringACTIVITYREFFor a Start Event: This Event catches the compensation for an Event Sub-Process.static java.lang.StringIDThis attribute is used to uniquely identify BPMN elements.static java.lang.StringSTEREOTYPE_NAMEstatic java.lang.StringWAITFORCOMPLETIONFor 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 protectedCompenstationEventDefinitionStereotype(BPMN2Profile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclear()voidclearActivityRef(Element element)voidclearId(Element element)voidclearWaitForCompletion(Element element)ElementgetActivityRef(Element element)PropertygetActivityRefProperty()java.lang.StringgetId(Element element)PropertygetIdProperty()StereotypegetStereotype()Returns stereotype for this wrapper.PropertygetWaitForCompletionProperty()booleanis(Element element)static booleanisInstance(Element element)java.lang.BooleanisWaitForCompletion(Element element)voidsetActivityRef(Element element, Element value)voidsetId(Element element, java.lang.String value)voidsetWaitForCompletion(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.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein 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)
-
-