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
Fields Modifier and Type Field Description static java.lang.String
ABBREVIATION
Specify a short word, phrase, or acronym of the validation rule.static java.lang.String
CONSTRAINEDELEMENTSFILTER
Specify the condition that must be met in order to validate Constrained Elements.static java.lang.String
ERRORMESSAGE
Describe the invalid situation when validation rule fails.static java.lang.String
IMPLEMENTATION
static java.lang.String
PARENTOBJECT
static java.lang.String
PARENTRULE
static java.lang.String
SEVERITY
Select the severity kind of the validation rule: debug, info, warning, error, fatal.static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
ValidationRuleStereotype(ValidationProfile profile)
-
Method Summary
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
ABBREVIATION
public static final java.lang.String 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:
- Constant Field Values
-
CONSTRAINEDELEMENTSFILTER
public static final java.lang.String CONSTRAINEDELEMENTSFILTER
Specify the condition that must be met in order to validate Constrained Elements.- See Also:
- Constant Field Values
-
ERRORMESSAGE
public static final java.lang.String ERRORMESSAGE
Describe the invalid situation when validation rule fails.- See Also:
- Constant Field Values
-
PARENTOBJECT
public static final java.lang.String PARENTOBJECT
- See Also:
- Constant Field Values
-
PARENTRULE
public static final java.lang.String PARENTRULE
- See Also:
- Constant Field Values
-
SEVERITY
public static final java.lang.String SEVERITY
Select the severity kind of the validation rule: debug, info, warning, error, fatal.- See Also:
- Constant Field Values
-
IMPLEMENTATION
public static final java.lang.String IMPLEMENTATION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ValidationRuleStereotype
protected ValidationRuleStereotype(ValidationProfile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getAbbreviationProperty
@CheckForNull public Property getAbbreviationProperty()
-
getConstrainedElementsFilterProperty
@CheckForNull public Property getConstrainedElementsFilterProperty()
-
getErrorMessageProperty
@CheckForNull public Property getErrorMessageProperty()
-
getParentObjectProperty
@CheckForNull public Property getParentObjectProperty()
-
getParentRuleProperty
@CheckForNull public Property getParentRuleProperty()
-
getSeverityProperty
@CheckForNull public Property getSeverityProperty()
-
getImplementationProperty
@CheckForNull public Property getImplementationProperty()
-
setAbbreviation
public void setAbbreviation(Element element, @CheckForNull java.lang.String value)
-
clearAbbreviation
public void clearAbbreviation(Element element)
-
getAbbreviation
@CheckForNull public java.lang.String getAbbreviation(Element element)
-
setConstrainedElementsFilter
public void setConstrainedElementsFilter(Element element, @CheckForNull java.lang.Object value)
-
clearConstrainedElementsFilter
public void clearConstrainedElementsFilter(Element element)
-
getConstrainedElementsFilter
@CheckForNull public java.lang.Object getConstrainedElementsFilter(Element element)
-
setErrorMessage
public void setErrorMessage(Element element, @CheckForNull java.lang.String value)
-
clearErrorMessage
public void clearErrorMessage(Element element)
-
getErrorMessage
@CheckForNull public java.lang.String getErrorMessage(Element element)
-
setParentObject
public void setParentObject(Element element, @CheckForNull java.lang.Object value)
-
clearParentObject
public void clearParentObject(Element element)
-
getParentObject
@CheckForNull public java.lang.Object getParentObject(Element element)
-
clearParentRule
public void clearParentRule(Element element)
-
setSeverity
public void setSeverity(Element element, @CheckForNull ValidationProfile.SeverityKindEnum value)
-
clearSeverity
public void clearSeverity(Element element)
-
getSeverity
@CheckForNull public ValidationProfile.SeverityKindEnum getSeverity(Element element)
-
setImplementation
public void setImplementation(Element element, @CheckForNull java.lang.String value)
-
clearImplementation
public void clearImplementation(Element element)
-
getImplementation
@CheckForNull public java.lang.String getImplementation(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-