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
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final StringSpecify the name of the menu item that displays failing elements according to a selected validation rule (e.g., Display Unsatisfied Requirements).static final StringSelect the type of the metric to calculate.static final Stringstatic final StringSelect the validation rule whose script is used to calculate metrics. - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidclear()voidclearAbbreviation(Element element) voidclearFailingElementsDefinition(Element element) voidclearMetricType(Element element) voidclearValidationRule(Element element) getAbbreviation(Element element) getFailingElementsDefinition(Element element) getMetricType(Element element) Returns stereotype for this wrapper.getValidationRule(Element element) booleanstatic booleanisInstance(Element element) voidsetAbbreviation(Element element, String value) voidsetFailingElementsDefinition(Element element, String value) voidsetMetricType(Element element, MagicDrawProfile.MetricTypeEnum value) voidsetValidationRule(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.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
 getStereotypein 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
 
 -