Package com.nomagic.uml2
Class ValidationProfile.ValidationRuleStereotype
java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.uml2.ValidationProfile.ValidationRuleStereotype
- Enclosing class:
- ValidationProfile
public static class ValidationProfile.ValidationRuleStereotype
extends ProfileImplementation.StereotypeWrapper
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringSpecify a short word, phrase, or acronym of the validation rule.static final StringSpecify the condition that must be met in order to validate Constrained Elements.static final StringDescribe the invalid situation when validation rule fails.static final Stringstatic final Stringstatic final Stringstatic final StringSelect the severity kind of the validation rule: debug, info, warning, error, fatal.static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclear()voidclearAbbreviation(Element element) voidclearConstrainedElementsFilter(Element element) voidclearErrorMessage(Element element) voidclearImplementation(Element element) voidclearParentObject(Element element) voidclearParentRule(Element element) voidclearSeverity(Element element) getAbbreviation(Element element) getConstrainedElementsFilter(Element element) getErrorMessage(Element element) getImplementation(Element element) getParentObject(Element element) getParentRule(Element element) getSeverity(Element element) Returns stereotype for this wrapper.booleanstatic booleanisInstance(Element element) voidsetAbbreviation(Element element, String value) voidsetConstrainedElementsFilter(Element element, Object value) voidsetErrorMessage(Element element, String value) voidsetImplementation(Element element, String value) voidsetParentObject(Element element, Object value) voidsetParentRule(Element element, Element value) voidsetSeverity(Element element, ValidationProfile.SeverityKindEnum value) Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Field Details
-
STEREOTYPE_NAME
- See Also:
-
ABBREVIATION
Specify a short word, phrase, or acronym of the validation rule. It allows you to distinguish the validation rules among other rules when sorting or filtering.- See Also:
-
CONSTRAINEDELEMENTSFILTER
Specify the condition that must be met in order to validate Constrained Elements.- See Also:
-
ERRORMESSAGE
Describe the invalid situation when validation rule fails.- See Also:
-
PARENTOBJECT
- See Also:
-
PARENTRULE
- See Also:
-
SEVERITY
Select the severity kind of the validation rule: debug, info, warning, error, fatal.- See Also:
-
IMPLEMENTATION
- See Also:
-
-
Constructor Details
-
ValidationRuleStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
- stereotype
-
getAbbreviationProperty
-
getConstrainedElementsFilterProperty
-
getErrorMessageProperty
-
getParentObjectProperty
-
getParentRuleProperty
-
getSeverityProperty
-
getImplementationProperty
-
setAbbreviation
-
clearAbbreviation
-
getAbbreviation
-
setConstrainedElementsFilter
-
clearConstrainedElementsFilter
-
getConstrainedElementsFilter
-
setErrorMessage
-
clearErrorMessage
-
getErrorMessage
-
setParentObject
-
clearParentObject
-
getParentObject
-
setParentRule
-
clearParentRule
-
getParentRule
-
setSeverity
-
clearSeverity
-
getSeverity
-
setImplementation
-
clearImplementation
-
getImplementation
-
clear
protected void clear() -
is
-
isInstance
-