Class BPMN2Profile.ErrorStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.ErrorStereotype
-
- Enclosing class:
- BPMN2Profile
public static class BPMN2Profile.ErrorStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private BPMN2Profile_pprivate PropertyerrorCodestatic java.lang.StringERRORCODEFor 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 java.lang.StringIDThis attribute is used to uniquely identify BPMN elements.static java.lang.StringSTEREOTYPE_NAMEprivate PropertystructureRefstatic java.lang.StringSTRUCTUREREF
-
Constructor Summary
Constructors Modifier Constructor Description protectedErrorStereotype(BPMN2Profile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclear()voidclearErrorCode(Element element)voidclearId(Element element)voidclearStructureRef(Element element)java.lang.StringgetErrorCode(Element element)PropertygetErrorCodeProperty()java.lang.StringgetId(Element element)PropertygetIdProperty()StereotypegetStereotype()Returns stereotype for this wrapper.ElementgetStructureRef(Element element)PropertygetStructureRefProperty()booleanis(Element element)static booleanisInstance(Element element)voidsetErrorCode(Element element, java.lang.String value)voidsetId(Element element, java.lang.String value)voidsetStructureRef(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
-
ERRORCODE
public static final java.lang.String 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:
- 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
-
errorCode
@CheckForNull private Property errorCode
-
structureRef
@CheckForNull private Property structureRef
-
-
Constructor Detail
-
ErrorStereotype
protected ErrorStereotype(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
-
getErrorCodeProperty
@CheckForNull public Property getErrorCodeProperty()
-
getStructureRefProperty
@CheckForNull public Property getStructureRefProperty()
-
getIdProperty
@CheckForNull public Property getIdProperty()
-
setErrorCode
public void setErrorCode(Element element, @CheckForNull java.lang.String value)
-
clearErrorCode
public void clearErrorCode(Element element)
-
getErrorCode
@CheckForNull public java.lang.String getErrorCode(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:
clearin classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-