Class BPMN2Profile.ErrorStereotype
java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.ErrorStereotype
- Enclosing class:
- BPMN2Profile
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
For an End Event: If the Result is an Error, then the errorCode MUST be supplied (if the processType attribute of the Process is set to executable) This throws the error.static final String
This attribute is used to uniquely identify BPMN elements.static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
clear()
void
clearErrorCode
(Element element) void
void
clearStructureRef
(Element element) getErrorCode
(Element element) Returns stereotype for this wrapper.getStructureRef
(Element element) boolean
static boolean
isInstance
(Element element) void
setErrorCode
(Element element, String value) void
void
setStructureRef
(Element element, Element value) Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Field Details
-
STEREOTYPE_NAME
- See Also:
-
ERRORCODE
For an End Event: If the Result is an Error, then the errorCode MUST be supplied (if the processType attribute of the Process is set to executable) This throws the error. For an Intermediate Event within Normal Flow: If the Trigger is an Error, then the errorCode MUST be entered (if the processType attribute of the Process is set to executable). This throws the Error. For an Intermediate Event attached to the boundary of an Activity: If the Trigger is an Error, then the errorCode MAY be entered. This Event catches the error. If there is no errorCode, then any error SHALL trigger the Event. If there is an errorCode, then only an error that matches the errorCode SHALL trigger the Event.- See Also:
-
STRUCTUREREF
- See Also:
-
ID
This attribute is used to uniquely identify BPMN elements.- See Also:
-
-
Constructor Details
-
ErrorStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getErrorCodeProperty
-
getStructureRefProperty
-
getIdProperty
-
setErrorCode
-
clearErrorCode
-
getErrorCode
-
setStructureRef
-
clearStructureRef
-
getStructureRef
-
setId
-
clearId
-
getId
-
clear
protected void clear() -
is
-
isInstance
-