Class BPMN2Profile.ErrorStereotype

java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.ErrorStereotype
Enclosing class:
BPMN2Profile

public static class BPMN2Profile.ErrorStereotype extends ProfileImplementation.StereotypeWrapper
  • Field Details

    • STEREOTYPE_NAME

      public static final String STEREOTYPE_NAME
      See Also:
    • ERRORCODE

      public static final 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:
    • STRUCTUREREF

      public static final String STRUCTUREREF
      See Also:
    • ID

      public static final String ID
      This attribute is used to uniquely identify BPMN elements.
      See Also:
  • Constructor Details

    • ErrorStereotype

      protected ErrorStereotype(BPMN2Profile profile)
  • Method Details

    • getStereotype

      public Stereotype getStereotype()
      Description copied from class: ProfileImplementation.StereotypeWrapper
      Returns stereotype for this wrapper.
      Specified by:
      getStereotype in class ProfileImplementation.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 String value)
    • clearErrorCode

      public void clearErrorCode(Element element)
    • getErrorCode

      @CheckForNull public String getErrorCode(Element element)
    • setStructureRef

      public void setStructureRef(Element element, @CheckForNull Element value)
    • clearStructureRef

      public void clearStructureRef(Element element)
    • getStructureRef

      @CheckForNull public Element getStructureRef(Element element)
    • setId

      public void setId(Element element, @CheckForNull String value)
    • clearId

      public void clearId(Element element)
    • getId

      @CheckForNull public String getId(Element element)
    • clear

      protected void clear()
    • is

      public boolean is(@CheckForNull Element element)
    • isInstance

      public static boolean isInstance(@CheckForNull Element element)