Class SysMLProfile.ElementGroupStereotype

java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.magicdraw.sysml.util.SysMLProfile.ElementGroupStereotype
Enclosing class:
SysMLProfile

public static class SysMLProfile.ElementGroupStereotype extends ProfileImplementation.StereotypeWrapper
  • Field Details

    • STEREOTYPE_NAME

      public static final String STEREOTYPE_NAME
      See Also:
    • CRITERION

      public static final String CRITERION
      Specifies the rationale for being member of the group. Adding an element to the group asserts that the criterion applies to this element. Derived from Comment::body.
      See Also:
    • MEMBER

      public static final String MEMBER
      Set specifying the members of the group. Derived from Comment::annotatedElement.
      See Also:
    • NAME

      public static final String NAME
      See Also:
    • ORDEREDMEMBER

      public static final String ORDEREDMEMBER
      Organize member according to an arbitrary order. Optional.
      See Also:
    • SIZE

      public static final String SIZE
      Number of members in the group. Derived.
      See Also:
  • Constructor Details

    • ElementGroupStereotype

      protected ElementGroupStereotype(SysMLProfile 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
    • getCriterionProperty

      @CheckForNull public Property getCriterionProperty()
    • getMemberProperty

      @CheckForNull public Property getMemberProperty()
    • getNameProperty

      @CheckForNull public Property getNameProperty()
    • getOrderedMemberProperty

      @CheckForNull public Property getOrderedMemberProperty()
    • getSizeProperty

      @CheckForNull public Property getSizeProperty()
    • setCriterion

      public void setCriterion(Element element, @CheckForNull String value)
    • clearCriterion

      public void clearCriterion(Element element)
    • getCriterion

      @CheckForNull public String getCriterion(Element element)
    • setMember

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

      public void clearMember(Element element)
    • addMember

      public void addMember(Element element, Element value)
    • removeMember

      public void removeMember(Element element, Element value)
    • getMember

      public List<Element> getMember(Element element)
    • setName

      public void setName(Element element, @CheckForNull String value)
    • clearName

      public void clearName(Element element)
    • getName

      @CheckForNull public String getName(Element element)
    • setOrderedMember

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

      public void clearOrderedMember(Element element)
    • addOrderedMember

      public void addOrderedMember(Element element, Element value)
    • removeOrderedMember

      public void removeOrderedMember(Element element, Element value)
    • getOrderedMember

      public List<Element> getOrderedMember(Element element)
    • setSize

      public void setSize(Element element, @CheckForNull Integer value)
    • clearSize

      public void clearSize(Element element)
    • getSize

      @CheckForNull public Integer getSize(Element element)
    • clear

      protected void clear()
    • is

      public boolean is(@CheckForNull Element element)
    • isInstance

      public static boolean isInstance(@CheckForNull Element element)