Class SysMLProfile.ValueTypeStereotype

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

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

    • STEREOTYPE_NAME

      public static final String STEREOTYPE_NAME
      See Also:
    • QUANTITYKIND

      public static final String QUANTITYKIND
      A kind of quantity that may be stated by means of defined units, as identified by an instance of the Dimension stereotype. A value type may optionally specify a dimension without any unit. Such a value has no concrete representation, but may be used to express a value in an abstract form independent of any specific units.
      See Also:
    • UNIT

      public static final String UNIT
      A quantity in terms of which the magnitudes of other quantities that have the same dimension can be stated, as identified by an instance of the Unit stereotype.
      See Also:
  • Constructor Details

    • ValueTypeStereotype

      protected ValueTypeStereotype(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
    • getQuantityKindProperty

      @CheckForNull public Property getQuantityKindProperty()
    • getUnitProperty

      @CheckForNull public Property getUnitProperty()
    • setQuantityKind

      public void setQuantityKind(Element element, @CheckForNull Element value)
    • clearQuantityKind

      public void clearQuantityKind(Element element)
    • getQuantityKind

      @CheckForNull public Element getQuantityKind(Element element)
    • setUnit

      public void setUnit(Element element, @CheckForNull Element value)
    • clearUnit

      public void clearUnit(Element element)
    • getUnit

      @CheckForNull public Element getUnit(Element element)
    • clear

      protected void clear()
    • is

      public boolean is(@CheckForNull Element element)
    • isInstance

      public static boolean isInstance(@CheckForNull Element element)