Class BPMN2Profile.GlobalScriptTaskStereotype

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

public static class BPMN2Profile.GlobalScriptTaskStereotype 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 equivalent to a TaskType of None.
      See Also:
    • SCRIPTLANGUAGE

      public static final String SCRIPTLANGUAGE
      Defines the script language. The script language MUST be provided if a script is provided.
      See Also:
    • RESOURCES

      public static final String RESOURCES
      See Also:
    • IOSPECIFICATION

      public static final String IOSPECIFICATION
      See Also:
    • SUPPORTEDINTERFACESREFS

      public static final String SUPPORTEDINTERFACESREFS
      The Interfaces describing the external behavior provided by this element.
      See Also:
    • ID

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

    • GlobalScriptTaskStereotype

      protected GlobalScriptTaskStereotype(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()
    • getResourcesProperty

      @CheckForNull public Property getResourcesProperty()
    • getIoSpecificationProperty

      @CheckForNull public Property getIoSpecificationProperty()
    • getSupportedInterfacesRefsProperty

      @CheckForNull public Property getSupportedInterfacesRefsProperty()
    • 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)
    • 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)
    • setIoSpecification

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

      public void clearIoSpecification(Element element)
    • getIoSpecification

      @CheckForNull public Element getIoSpecification(Element element)
    • setSupportedInterfacesRefs

      public void setSupportedInterfacesRefs(Element element, @CheckForNull Collection<? extends Element> value)
    • clearSupportedInterfacesRefs

      public void clearSupportedInterfacesRefs(Element element)
    • addSupportedInterfacesRefs

      public void addSupportedInterfacesRefs(Element element, Element value)
    • removeSupportedInterfacesRefs

      public void removeSupportedInterfacesRefs(Element element, Element value)
    • getSupportedInterfacesRefs

      public List<Element> getSupportedInterfacesRefs(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)