Class MagicDrawProfile.ValidationBasedMetricDefinitionStereotype

java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.uml2.MagicDrawProfile.ValidationBasedMetricDefinitionStereotype
Enclosing class:
MagicDrawProfile

public static class MagicDrawProfile.ValidationBasedMetricDefinitionStereotype extends ProfileImplementation.StereotypeWrapper
  • Field Details

    • STEREOTYPE_NAME

      public static final String STEREOTYPE_NAME
      See Also:
    • FAILINGELEMENTSDEFINITION

      public static final String FAILINGELEMENTSDEFINITION
      Specify the name of the menu item that displays failing elements according to a selected validation rule (e.g., Display Unsatisfied Requirements). To find the menu item, right-click the metric table cell that displays the metric according to this validation rule.
      See Also:
    • METRICTYPE

      public static final String METRICTYPE
      Select the type of the metric to calculate.
      See Also:
    • VALIDATIONRULE

      public static final String VALIDATIONRULE
      Select the validation rule whose script is used to calculate metrics.
      See Also:
    • ABBREVIATION

      public static final String ABBREVIATION
      See Also:
  • Constructor Details

    • ValidationBasedMetricDefinitionStereotype

      protected ValidationBasedMetricDefinitionStereotype(MagicDrawProfile 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
    • getFailingElementsDefinitionProperty

      @CheckForNull public Property getFailingElementsDefinitionProperty()
    • getMetricTypeProperty

      @CheckForNull public Property getMetricTypeProperty()
    • getValidationRuleProperty

      @CheckForNull public Property getValidationRuleProperty()
    • getAbbreviationProperty

      @CheckForNull public Property getAbbreviationProperty()
    • setFailingElementsDefinition

      public void setFailingElementsDefinition(Element element, @CheckForNull String value)
    • clearFailingElementsDefinition

      public void clearFailingElementsDefinition(Element element)
    • getFailingElementsDefinition

      @CheckForNull public String getFailingElementsDefinition(Element element)
    • setMetricType

      public void setMetricType(Element element, @CheckForNull MagicDrawProfile.MetricTypeEnum value)
    • clearMetricType

      public void clearMetricType(Element element)
    • getMetricType

      @CheckForNull public MagicDrawProfile.MetricTypeEnum getMetricType(Element element)
    • setValidationRule

      public void setValidationRule(Element element, @CheckForNull Element value)
    • clearValidationRule

      public void clearValidationRule(Element element)
    • getValidationRule

      @CheckForNull public Element getValidationRule(Element element)
    • setAbbreviation

      public void setAbbreviation(Element element, @CheckForNull String value)
    • clearAbbreviation

      public void clearAbbreviation(Element element)
    • getAbbreviation

      @CheckForNull public String getAbbreviation(Element element)
    • clear

      protected void clear()
    • is

      public boolean is(@CheckForNull Element element)
    • isInstance

      public static boolean isInstance(@CheckForNull Element element)