public static class ValidationProfile.ValidationRuleStereotype extends ProfileImplementation.StereotypeWrapper
Modifier and Type | Field and 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 |
Modifier | Constructor and Description |
---|---|
protected |
ValidationRuleStereotype(ValidationProfile profile) |
apply, unApply
getElement, getElementByName
public static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String ABBREVIATION
public static final java.lang.String CONSTRAINEDELEMENTSFILTER
public static final java.lang.String ERRORMESSAGE
public static final java.lang.String PARENTOBJECT
public static final java.lang.String PARENTRULE
public static final java.lang.String SEVERITY
public static final java.lang.String IMPLEMENTATION
protected ValidationRuleStereotype(ValidationProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrapper
getStereotype
in class ProfileImplementation.StereotypeWrapper
@CheckForNull public Property getAbbreviationProperty()
@CheckForNull public Property getConstrainedElementsFilterProperty()
@CheckForNull public Property getErrorMessageProperty()
@CheckForNull public Property getParentObjectProperty()
@CheckForNull public Property getParentRuleProperty()
@CheckForNull public Property getSeverityProperty()
@CheckForNull public Property getImplementationProperty()
public void setAbbreviation(Element element, @CheckForNull java.lang.String value)
public void clearAbbreviation(Element element)
@CheckForNull public java.lang.String getAbbreviation(Element element)
public void setConstrainedElementsFilter(Element element, @CheckForNull java.lang.Object value)
public void clearConstrainedElementsFilter(Element element)
@CheckForNull public java.lang.Object getConstrainedElementsFilter(Element element)
public void setErrorMessage(Element element, @CheckForNull java.lang.String value)
public void clearErrorMessage(Element element)
@CheckForNull public java.lang.String getErrorMessage(Element element)
public void setParentObject(Element element, @CheckForNull java.lang.Object value)
public void clearParentObject(Element element)
@CheckForNull public java.lang.Object getParentObject(Element element)
public void clearParentRule(Element element)
public void setSeverity(Element element, @CheckForNull ValidationProfile.SeverityKindEnum value)
public void clearSeverity(Element element)
@CheckForNull public ValidationProfile.SeverityKindEnum getSeverity(Element element)
public void setImplementation(Element element, @CheckForNull java.lang.String value)
public void clearImplementation(Element element)
@CheckForNull public java.lang.String getImplementation(Element element)
protected void clear()
clear
in class ProfileImplementation.ProfileElementWrapper<Stereotype>
public boolean is(@CheckForNull Element element)
ProfileImplementation.StereotypeWrapper
is
in class ProfileImplementation.StereotypeWrapper
element
- elementpublic static boolean isInstance(@CheckForNull Element element)