Class BPMN2Profile.EscalationEventDefinitionStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.EscalationEventDefinitionStereotype
-
- Enclosing class:
- BPMN2Profile
public static class BPMN2Profile.EscalationEventDefinitionStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private BPMN2Profile
_p
private Property
escalationCode
static java.lang.String
ESCALATIONCODE
For an End Event: If the Result is an Escalation, then the escalationCode MUST be supplied (if the processType attribute of the Process is set to executable).private Property
escalationRef
static java.lang.String
ESCALATIONREF
static java.lang.String
ID
This attribute is used to uniquely identify BPMN elements.static java.lang.String
STEREOTYPE_NAME
private Property
structureRef
static java.lang.String
STRUCTUREREF
-
Constructor Summary
Constructors Modifier Constructor Description protected
EscalationEventDefinitionStereotype(BPMN2Profile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearEscalationCode(Element element)
void
clearEscalationRef(Element element)
void
clearId(Element element)
void
clearStructureRef(Element element)
java.lang.String
getEscalationCode(Element element)
Property
getEscalationCodeProperty()
Element
getEscalationRef(Element element)
Property
getEscalationRefProperty()
java.lang.String
getId(Element element)
Property
getIdProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.Element
getStructureRef(Element element)
Property
getStructureRefProperty()
boolean
is(Element element)
static boolean
isInstance(Element element)
void
setEscalationCode(Element element, java.lang.String value)
void
setEscalationRef(Element element, Element value)
void
setId(Element element, java.lang.String value)
void
setStructureRef(Element element, Element value)
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper
getElementByName
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
ESCALATIONCODE
public static final java.lang.String ESCALATIONCODE
For an End Event: If the Result is an Escalation, then the escalationCode MUST be supplied (if the processType attribute of the Process is set to executable). This throws the escalation. For an Intermediate Event within Normal Flow: If the Trigger is an Escalation, then the escalationCode MUST be entered (if the processType attribute of the Process is set to executable). This throws the escalation. For an Intermediate Event attached to the boundary of an Activity: If the Trigger is an Escalation, then the escalationCode MAY be entered. This Event catches the escalation. If there is no escalationCode, then any escalation SHALL trigger the Event. If there is an escalationCode, then only an escalation that matches the escalationCode SHALL trigger the Event.- See Also:
- Constant Field Values
-
ESCALATIONREF
public static final java.lang.String ESCALATIONREF
- See Also:
- Constant Field Values
-
STRUCTUREREF
public static final java.lang.String STRUCTUREREF
- 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
-
_p
private final BPMN2Profile _p
-
escalationCode
@CheckForNull private Property escalationCode
-
escalationRef
@CheckForNull private Property escalationRef
-
structureRef
@CheckForNull private Property structureRef
-
-
Constructor Detail
-
EscalationEventDefinitionStereotype
protected EscalationEventDefinitionStereotype(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
-
getEscalationCodeProperty
@CheckForNull public Property getEscalationCodeProperty()
-
getEscalationRefProperty
@CheckForNull public Property getEscalationRefProperty()
-
getStructureRefProperty
@CheckForNull public Property getStructureRefProperty()
-
getIdProperty
@CheckForNull public Property getIdProperty()
-
setEscalationCode
public void setEscalationCode(Element element, @CheckForNull java.lang.String value)
-
clearEscalationCode
public void clearEscalationCode(Element element)
-
getEscalationCode
@CheckForNull public java.lang.String getEscalationCode(Element element)
-
clearEscalationRef
public void clearEscalationRef(Element element)
-
clearStructureRef
public void clearStructureRef(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()
- Overrides:
clear
in classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-