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
Modifier and TypeFieldDescriptionstatic final String
Specify a short word, phrase, or acronym of the validation rule.static final String
Specify the condition that must be met in order to validate Constrained Elements.static final String
Describe the invalid situation when validation rule fails.static final String
static final String
static final String
static final String
Select the severity kind of the validation rule: debug, info, warning, error, fatal.static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
clear()
void
clearAbbreviation
(Element element) void
clearConstrainedElementsFilter
(Element element) void
clearErrorMessage
(Element element) void
clearImplementation
(Element element) void
clearParentObject
(Element element) void
clearParentRule
(Element element) void
clearSeverity
(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.boolean
static boolean
isInstance
(Element element) void
setAbbreviation
(Element element, String value) void
setConstrainedElementsFilter
(Element element, Object value) void
setErrorMessage
(Element element, String value) void
setImplementation
(Element element, String value) void
setParentObject
(Element element, Object value) void
setParentRule
(Element element, Element value) void
setSeverity
(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.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in 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
-