Class SysMLProfile.DeriveReqtStereotype

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

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

    • STEREOTYPE_NAME

      public static final String STEREOTYPE_NAME
      See Also:
    • SOURCECONTEXT

      public static final String SOURCECONTEXT
      Gives the context for sourcePropertyPath to begin from.
      See Also:
    • SOURCEPROPERTYPATH

      public static final String SOURCEPROPERTYPATH
      A series of properties that identifies the source of the directed relationship in the context of the block specified by the sourceContext property.
      See Also:
    • TARGETCONTEXT

      public static final String TARGETCONTEXT
      Gives the context for targetPropertyPath to begin from.
      See Also:
    • TARGETPROPERTYPATH

      public static final String TARGETPROPERTYPATH
      A series of properties that identifies the target of the directed relationship in the context of the block specified by the targetContext property.
      See Also:
  • Constructor Details

    • DeriveReqtStereotype

      protected DeriveReqtStereotype(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
    • getSourceContextProperty

      @CheckForNull public Property getSourceContextProperty()
    • getSourcePropertyPathProperty

      @CheckForNull public Property getSourcePropertyPathProperty()
    • getTargetContextProperty

      @CheckForNull public Property getTargetContextProperty()
    • getTargetPropertyPathProperty

      @CheckForNull public Property getTargetPropertyPathProperty()
    • setSourceContext

      public void setSourceContext(Element element, @CheckForNull Element value)
    • clearSourceContext

      public void clearSourceContext(Element element)
    • getSourceContext

      @CheckForNull public Element getSourceContext(Element element)
    • setSourcePropertyPath

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

      public void clearSourcePropertyPath(Element element)
    • addSourcePropertyPath

      public void addSourcePropertyPath(Element element, Element value)
    • removeSourcePropertyPath

      public void removeSourcePropertyPath(Element element, Element value)
    • getSourcePropertyPath

      public List<Element> getSourcePropertyPath(Element element)
    • setTargetContext

      public void setTargetContext(Element element, @CheckForNull Element value)
    • clearTargetContext

      public void clearTargetContext(Element element)
    • getTargetContext

      @CheckForNull public Element getTargetContext(Element element)
    • setTargetPropertyPath

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

      public void clearTargetPropertyPath(Element element)
    • addTargetPropertyPath

      public void addTargetPropertyPath(Element element, Element value)
    • removeTargetPropertyPath

      public void removeTargetPropertyPath(Element element, Element value)
    • getTargetPropertyPath

      public List<Element> getTargetPropertyPath(Element element)
    • is

      public boolean is(@CheckForNull Element element)
    • isInstance

      public static boolean isInstance(@CheckForNull Element element)