public static class MagicDrawProfile.ValidationBasedMetricDefinitionStereotype extends ProfileImplementation.StereotypeWrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ABBREVIATION |
static java.lang.String |
FAILINGELEMENTSDEFINITION
Specify the name of the menu item that displays failing elements according to a selected validation rule (e.g., Display Unsatisfied Requirements).
|
static java.lang.String |
METRICTYPE
Select the type of the metric to calculate.
|
static java.lang.String |
STEREOTYPE_NAME |
static java.lang.String |
VALIDATIONRULE
Select the validation rule whose script is used to calculate metrics.
|
Modifier | Constructor and Description |
---|---|
protected |
ValidationBasedMetricDefinitionStereotype(MagicDrawProfile profile) |
apply, unApply
getElement, getElementByName
public static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String FAILINGELEMENTSDEFINITION
public static final java.lang.String METRICTYPE
public static final java.lang.String VALIDATIONRULE
public static final java.lang.String ABBREVIATION
protected ValidationBasedMetricDefinitionStereotype(MagicDrawProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrapper
getStereotype
in class ProfileImplementation.StereotypeWrapper
@CheckForNull public Property getFailingElementsDefinitionProperty()
@CheckForNull public Property getMetricTypeProperty()
@CheckForNull public Property getValidationRuleProperty()
@CheckForNull public Property getAbbreviationProperty()
public void setFailingElementsDefinition(Element element, @CheckForNull java.lang.String value)
public void clearFailingElementsDefinition(Element element)
@CheckForNull public java.lang.String getFailingElementsDefinition(Element element)
public void setMetricType(Element element, @CheckForNull MagicDrawProfile.MetricTypeEnum value)
public void clearMetricType(Element element)
@CheckForNull public MagicDrawProfile.MetricTypeEnum getMetricType(Element element)
public void clearValidationRule(Element element)
public void setAbbreviation(Element element, @CheckForNull java.lang.String value)
public void clearAbbreviation(Element element)
@CheckForNull public java.lang.String getAbbreviation(Element element)
protected void clear()
clear
in class ProfileImplementation.ProfileElementWrapper<Stereotype>
public boolean is(@CheckForNull Element element)
ProfileImplementation.StereotypeWrapper
is
in class ProfileImplementation.StereotypeWrapper
element
- elementpublic static boolean isInstance(@CheckForNull Element element)