Class BPMN2Profile.ErrorStereotype

    • Field Detail

      • 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
      • ID

        public static final java.lang.String ID
        This attribute is used to uniquely identify BPMN elements.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ErrorStereotype

        protected ErrorStereotype​(BPMN2Profile profile)
    • Method Detail

      • 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)
      • 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
                          java.lang.String value)
      • clearId

        public void clearId​(Element element)
      • getId

        @CheckForNull
        public java.lang.String getId​(Element element)
      • clear

        protected void clear()
      • is

        public boolean is​(@CheckForNull
                          Element element)
      • isInstance

        public static boolean isInstance​(@CheckForNull
                                         Element element)