Class BPMN2Profile.ResourceRoleStereotype

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

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

    • STEREOTYPE_NAME

      public static final String STEREOTYPE_NAME
      See Also:
    • RESOURCEASSIGNMENTEXPRESSION

      public static final String RESOURCEASSIGNMENTEXPRESSION
      This defines the Expression used for the Resource assignment (see below). Should not be specified when a resourceRef is provided.
      See Also:
    • RESOURCEPARAMETERBINDINGS

      public static final String RESOURCEPARAMETERBINDINGS
      This defines the Parameter bindings used for the Resource assignment. Is only applicable if a resourceRef is specified.
      See Also:
    • ID

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

    • ResourceRoleStereotype

      protected ResourceRoleStereotype(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
    • getResourceAssignmentExpressionProperty

      @CheckForNull public Property getResourceAssignmentExpressionProperty()
    • getResourceParameterBindingsProperty

      @CheckForNull public Property getResourceParameterBindingsProperty()
    • getIdProperty

      @CheckForNull public Property getIdProperty()
    • setResourceAssignmentExpression

      public void setResourceAssignmentExpression(Element element, @CheckForNull Element value)
    • clearResourceAssignmentExpression

      public void clearResourceAssignmentExpression(Element element)
    • getResourceAssignmentExpression

      @CheckForNull public Element getResourceAssignmentExpression(Element element)
    • setResourceParameterBindings

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

      public void clearResourceParameterBindings(Element element)
    • addResourceParameterBindings

      public void addResourceParameterBindings(Element element, Element value)
    • removeResourceParameterBindings

      public void removeResourceParameterBindings(Element element, Element value)
    • getResourceParameterBindings

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