Class BPMN2Profile.ScriptTaskStereotype

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

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

    • STEREOTYPE_NAME

      public static final String STEREOTYPE_NAME
      See Also:
    • SCRIPT

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

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

      public static final String BOUNDARYEVENTREFS
      See Also:
    • COMPLETIONQUANTITY

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

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

      public static final String IOSPECIFICATION
      See Also:
    • ISFORCOMPENSATION

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

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

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

      public static final String STATE
      See Also:
    • ID

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

    • ScriptTaskStereotype

      protected ScriptTaskStereotype(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
    • 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 String value)
    • clearScript

      public void clearScript(Element element)
    • getScript

      @CheckForNull public String getScript(Element element)
    • setScriptLanguage

      public void setScriptLanguage(Element element, @CheckForNull String value)
    • clearScriptLanguage

      public void clearScriptLanguage(Element element)
    • getScriptLanguage

      @CheckForNull public String getScriptLanguage(Element element)
    • setBoundaryEventRefs

      public void setBoundaryEventRefs(Element element, @CheckForNull 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 List<Element> getBoundaryEventRefs(Element element)
    • setCompletionQuantity

      public void setCompletionQuantity(Element element, @CheckForNull Integer value)
    • clearCompletionQuantity

      public void clearCompletionQuantity(Element element)
    • getCompletionQuantity

      @CheckForNull public 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 Boolean value)
    • clearIsForCompensation

      public void clearIsForCompensation(Element element)
    • isIsForCompensation

      @CheckForNull public Boolean isIsForCompensation(Element element)
    • setResources

      public void setResources(Element element, @CheckForNull 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 List<Element> getResources(Element element)
    • setStartQuantity

      public void setStartQuantity(Element element, @CheckForNull Integer value)
    • clearStartQuantity

      public void clearStartQuantity(Element element)
    • getStartQuantity

      @CheckForNull public Integer getStartQuantity(Element element)
    • setState

      public void setState(Element element, @CheckForNull BPMN2Profile.Activity_StateEnum value)
    • clearState

      public void clearState(Element element)
    • getState

      @CheckForNull public BPMN2Profile.Activity_StateEnum getState(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)