Package com.nomagic.uml2
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 Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
Specify the name of the menu item that displays failing elements according to a selected validation rule (e.g., Display Unsatisfied Requirements).static final String
Select the type of the metric to calculate.static final String
static final String
Select the validation rule whose script is used to calculate metrics. -
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
clear()
void
clearAbbreviation
(Element element) void
clearFailingElementsDefinition
(Element element) void
clearMetricType
(Element element) void
clearValidationRule
(Element element) getAbbreviation
(Element element) getFailingElementsDefinition
(Element element) getMetricType
(Element element) Returns stereotype for this wrapper.getValidationRule
(Element element) boolean
static boolean
isInstance
(Element element) void
setAbbreviation
(Element element, String value) void
setFailingElementsDefinition
(Element element, String value) void
setMetricType
(Element element, MagicDrawProfile.MetricTypeEnum value) void
setValidationRule
(Element element, Element value) Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Field Details
-
STEREOTYPE_NAME
- See Also:
-
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
Select the type of the metric to calculate.- See Also:
-
VALIDATIONRULE
Select the validation rule whose script is used to calculate metrics.- See Also:
-
ABBREVIATION
- See Also:
-
-
Constructor Details
-
ValidationBasedMetricDefinitionStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getFailingElementsDefinitionProperty
-
getMetricTypeProperty
-
getValidationRuleProperty
-
getAbbreviationProperty
-
setFailingElementsDefinition
-
clearFailingElementsDefinition
-
getFailingElementsDefinition
-
setMetricType
-
clearMetricType
-
getMetricType
-
setValidationRule
-
clearValidationRule
-
getValidationRule
-
setAbbreviation
-
clearAbbreviation
-
getAbbreviation
-
clear
protected void clear() -
is
-
isInstance
-