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 Details

    • STEREOTYPE_NAME

      public static final String STEREOTYPE_NAME
      See Also:
    • ABBREVIATION

      public static final 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:
    • CONSTRAINEDELEMENTSFILTER

      public static final String CONSTRAINEDELEMENTSFILTER
      Specify the condition that must be met in order to validate Constrained Elements.
      See Also:
    • ERRORMESSAGE

      public static final String ERRORMESSAGE
      Describe the invalid situation when validation rule fails.
      See Also:
    • PARENTOBJECT

      public static final String PARENTOBJECT
      See Also:
    • PARENTRULE

      public static final String PARENTRULE
      See Also:
    • SEVERITY

      public static final String SEVERITY
      Select the severity kind of the validation rule: debug, info, warning, error, fatal.
      See Also:
    • IMPLEMENTATION

      public static final String IMPLEMENTATION
      See Also:
  • Constructor Details

    • ValidationRuleStereotype

      protected ValidationRuleStereotype(ValidationProfile profile)
  • Method Details

    • getStereotype

      public Stereotype getStereotype()
      Description copied from class: ProfileImplementation.StereotypeWrapper
      Returns stereotype for this wrapper.
      Specified by:
      getStereotype in class ProfileImplementation.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 String value)
    • clearAbbreviation

      public void clearAbbreviation(Element element)
    • getAbbreviation

      @CheckForNull public String getAbbreviation(Element element)
    • setConstrainedElementsFilter

      public void setConstrainedElementsFilter(Element element, @CheckForNull Object value)
    • clearConstrainedElementsFilter

      public void clearConstrainedElementsFilter(Element element)
    • getConstrainedElementsFilter

      @CheckForNull public Object getConstrainedElementsFilter(Element element)
    • setErrorMessage

      public void setErrorMessage(Element element, @CheckForNull String value)
    • clearErrorMessage

      public void clearErrorMessage(Element element)
    • getErrorMessage

      @CheckForNull public String getErrorMessage(Element element)
    • setParentObject

      public void setParentObject(Element element, @CheckForNull Object value)
    • clearParentObject

      public void clearParentObject(Element element)
    • getParentObject

      @CheckForNull public Object getParentObject(Element element)
    • setParentRule

      public void setParentRule(Element element, @CheckForNull Element value)
    • clearParentRule

      public void clearParentRule(Element element)
    • getParentRule

      @CheckForNull public Element getParentRule(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 String value)
    • clearImplementation

      public void clearImplementation(Element element)
    • getImplementation

      @CheckForNull public String getImplementation(Element element)
    • clear

      protected void clear()
    • is

      public boolean is(@CheckForNull Element element)
    • isInstance

      public static boolean isInstance(@CheckForNull Element element)