Class BPMN2Profile.CompenstationEventDefinitionStereotype

    • Field Detail

      • ACTIVITYREF

        public static final java.lang.String ACTIVITYREF
        For a Start Event: This Event catches the compensation for an Event Sub-Process. No further information is required. The Event Sub-Process will provide the Id necessary to match the Compensation Event with the Event that threw the compensation, or the compensation will have been a broadcast. For an End Event: The Activity to be compensated MAY be supplied. If an Activity is not supplied, then the compensation is broadcast to all completed Activities in the current Sub-Process (if present), or the entire Process Instance (if at the global level). For an Intermediate Event within Normal Flow: The Activity to be compensated MAY be supplied. If an Activity is not supplied, then the compensation is broadcast to all completed Activities in the current Sub-Process (if present), or the entire Process Instance (if at the global level). This throws the compensation. For an Intermediate Event attached to the boundary of an Activity: This Event catches the compensation. No further information is required. The Activity the Event is attached to will provide the Id necessary to match the Compensation Event with the Event that threw the compensation, or the compensation will have been a broadcast.
        See Also:
        Constant Field Values
      • WAITFORCOMPLETION

        public static final java.lang.String WAITFORCOMPLETION
        For a throw Compensation Event, this flag determines whether the throw Intermediate Event waits for the triggered compensation to complete (the default), or just triggers the compensation and immediately continues
        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

      • CompenstationEventDefinitionStereotype

        protected CompenstationEventDefinitionStereotype​(BPMN2Profile profile)
    • Method Detail

      • getActivityRefProperty

        @CheckForNull
        public Property getActivityRefProperty()
      • getWaitForCompletionProperty

        @CheckForNull
        public Property getWaitForCompletionProperty()
      • getIdProperty

        @CheckForNull
        public Property getIdProperty()
      • setActivityRef

        public void setActivityRef​(Element element,
                                   @CheckForNull
                                   Element value)
      • clearActivityRef

        public void clearActivityRef​(Element element)
      • getActivityRef

        @CheckForNull
        public Element getActivityRef​(Element element)
      • setWaitForCompletion

        public void setWaitForCompletion​(Element element,
                                         @CheckForNull
                                         java.lang.Boolean value)
      • clearWaitForCompletion

        public void clearWaitForCompletion​(Element element)
      • isWaitForCompletion

        @CheckForNull
        public java.lang.Boolean isWaitForCompletion​(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)