Class BPMN2Profile.ScriptTaskStereotype

    • Field Detail

      • SCRIPT

        public static final java.lang.String SCRIPT
        The modeler MAY include a script that can be run when the Task is performed. If a script is not included, then the Task will act as the equivalent of an Abstract Task.
        See Also:
        Constant Field Values
      • SCRIPTLANGUAGE

        public static final java.lang.String SCRIPTLANGUAGE
        Defines the format of the script. This attribute value MUST be specified with a mime-type format. And it MUST be specified if a script is provided.
        See Also:
        Constant Field Values
      • BOUNDARYEVENTREFS

        public static final java.lang.String BOUNDARYEVENTREFS
        See Also:
        Constant Field Values
      • COMPLETIONQUANTITY

        public static final java.lang.String COMPLETIONQUANTITY
        The default value is 1. The value MUST NOT be less than 1. This attribute defines the number of tokens that must be generated from the Activity. This number of tokens will be sent done any outgoing Sequence Flow (assuming any Sequence Flow Conditions are satisfied). Note that any value for the attribute that is greater than 1 is an advanced type of modeling and should be used with caution.
        See Also:
        Constant Field Values
      • DEFAULT

        public static final java.lang.String DEFAULT
        The Sequence Flow that will receive a token when none of the conditionExpressions on other outgoing Sequence Flows evaluate to true. The default Sequence Flow should not have a conditionExpression. Any such Expression SHALL be ignored.
        See Also:
        Constant Field Values
      • ISFORCOMPENSATION

        public static final java.lang.String ISFORCOMPENSATION
        A flag that identifies whether this activity is intended for the purposes of compensation. If false, then this activity executes as a result of normal execution flow. If true, this activity is only activated when a Compensation Event is detected and initiated under Compensation Event visibility scope.
        See Also:
        Constant Field Values
      • RESOURCES

        public static final java.lang.String RESOURCES
        Defines the resource that will perform or will be responsible for the activity. The resource, e.g. a performer, can be specified in the form of a specific individual, a group, an organization role or position, or an organization.
        See Also:
        Constant Field Values
      • STARTQUANTITY

        public static final java.lang.String STARTQUANTITY
        The default value is 1. The value MUST NOT be less than 1. This attribute defines the number of tokens that must arrive before the Activity can begin. Note that any value for the attribute that is greater than 1 is an advanced type of modeling and should be used with caution.
        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

      • ScriptTaskStereotype

        protected ScriptTaskStereotype​(BPMN2Profile profile)
    • Method Detail

      • getScriptProperty

        @CheckForNull
        public Property getScriptProperty()
      • getScriptLanguageProperty

        @CheckForNull
        public Property getScriptLanguageProperty()
      • getBoundaryEventRefsProperty

        @CheckForNull
        public Property getBoundaryEventRefsProperty()
      • getCompletionQuantityProperty

        @CheckForNull
        public Property getCompletionQuantityProperty()
      • getDefaultProperty

        @CheckForNull
        public Property getDefaultProperty()
      • getIoSpecificationProperty

        @CheckForNull
        public Property getIoSpecificationProperty()
      • getIsForCompensationProperty

        @CheckForNull
        public Property getIsForCompensationProperty()
      • getResourcesProperty

        @CheckForNull
        public Property getResourcesProperty()
      • getStartQuantityProperty

        @CheckForNull
        public Property getStartQuantityProperty()
      • getStateProperty

        @CheckForNull
        public Property getStateProperty()
      • getIdProperty

        @CheckForNull
        public Property getIdProperty()
      • setScript

        public void setScript​(Element element,
                              @CheckForNull
                              java.lang.String value)
      • clearScript

        public void clearScript​(Element element)
      • getScript

        @CheckForNull
        public java.lang.String getScript​(Element element)
      • setScriptLanguage

        public void setScriptLanguage​(Element element,
                                      @CheckForNull
                                      java.lang.String value)
      • clearScriptLanguage

        public void clearScriptLanguage​(Element element)
      • getScriptLanguage

        @CheckForNull
        public java.lang.String getScriptLanguage​(Element element)
      • setBoundaryEventRefs

        public void setBoundaryEventRefs​(Element element,
                                         @CheckForNull
                                         java.util.Collection<? extends Element> value)
      • clearBoundaryEventRefs

        public void clearBoundaryEventRefs​(Element element)
      • addBoundaryEventRefs

        public void addBoundaryEventRefs​(Element element,
                                         Element value)
      • removeBoundaryEventRefs

        public void removeBoundaryEventRefs​(Element element,
                                            Element value)
      • getBoundaryEventRefs

        public java.util.List<Element> getBoundaryEventRefs​(Element element)
      • setCompletionQuantity

        public void setCompletionQuantity​(Element element,
                                          @CheckForNull
                                          java.lang.Integer value)
      • clearCompletionQuantity

        public void clearCompletionQuantity​(Element element)
      • getCompletionQuantity

        @CheckForNull
        public java.lang.Integer getCompletionQuantity​(Element element)
      • setDefault

        public void setDefault​(Element element,
                               @CheckForNull
                               Element value)
      • clearDefault

        public void clearDefault​(Element element)
      • getDefault

        @CheckForNull
        public Element getDefault​(Element element)
      • setIoSpecification

        public void setIoSpecification​(Element element,
                                       @CheckForNull
                                       Element value)
      • clearIoSpecification

        public void clearIoSpecification​(Element element)
      • getIoSpecification

        @CheckForNull
        public Element getIoSpecification​(Element element)
      • setIsForCompensation

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

        public void clearIsForCompensation​(Element element)
      • isIsForCompensation

        @CheckForNull
        public java.lang.Boolean isIsForCompensation​(Element element)
      • setResources

        public void setResources​(Element element,
                                 @CheckForNull
                                 java.util.Collection<? extends Element> value)
      • clearResources

        public void clearResources​(Element element)
      • addResources

        public void addResources​(Element element,
                                 Element value)
      • removeResources

        public void removeResources​(Element element,
                                    Element value)
      • getResources

        public java.util.List<Element> getResources​(Element element)
      • setStartQuantity

        public void setStartQuantity​(Element element,
                                     @CheckForNull
                                     java.lang.Integer value)
      • clearStartQuantity

        public void clearStartQuantity​(Element element)
      • getStartQuantity

        @CheckForNull
        public java.lang.Integer getStartQuantity​(Element element)
      • clearState

        public void clearState​(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)