Class BPMN2Profile.CompensationBoundaryEventStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.CompensationBoundaryEventStereotype
-
- Enclosing class:
- BPMN2Profile
public static class BPMN2Profile.CompensationBoundaryEventStereotype 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
ATTACHEDTOREF
static java.lang.String
DATAOUTPUTASSOCIATION
static java.lang.String
DATAOUTPUTS
static java.lang.String
ID
This attribute is used to uniquely identify BPMN elements.static java.lang.String
OUTPUTSET
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
CompensationBoundaryEventStereotype(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
-
ATTACHEDTOREF
public static final java.lang.String ATTACHEDTOREF
- See Also:
- Constant Field Values
-
DATAOUTPUTASSOCIATION
public static final java.lang.String DATAOUTPUTASSOCIATION
- See Also:
- Constant Field Values
-
DATAOUTPUTS
public static final java.lang.String DATAOUTPUTS
- See Also:
- Constant Field Values
-
OUTPUTSET
public static final java.lang.String OUTPUTSET
- 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
-
CompensationBoundaryEventStereotype
protected CompensationBoundaryEventStereotype(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
-
getAttachedToRefProperty
@CheckForNull public Property getAttachedToRefProperty()
-
getDataOutputAssociationProperty
@CheckForNull public Property getDataOutputAssociationProperty()
-
getDataOutputsProperty
@CheckForNull public Property getDataOutputsProperty()
-
getOutputSetProperty
@CheckForNull public Property getOutputSetProperty()
-
getIdProperty
@CheckForNull public Property getIdProperty()
-
getActivityRefProperty
@CheckForNull public Property getActivityRefProperty()
-
getWaitForCompletionProperty
@CheckForNull public Property getWaitForCompletionProperty()
-
clearAttachedToRef
public void clearAttachedToRef(Element element)
-
setDataOutputAssociation
public void setDataOutputAssociation(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearDataOutputAssociation
public void clearDataOutputAssociation(Element element)
-
removeDataOutputAssociation
public void removeDataOutputAssociation(Element element, Element value)
-
setDataOutputs
public void setDataOutputs(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearDataOutputs
public void clearDataOutputs(Element element)
-
clearOutputSet
public void clearOutputSet(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)
-
-