Interface ValidationViolation


public interface ValidationViolation
Describes a violation of a constraint on an attribute or metacard.

This code is experimental. While this interface is functional and tested, it may change or be removed in a future version of the library.

  • Method Details

    • getSeverity

      Returns the severity of the violation. Cannot return null.
      Returns:
      the severity
    • getMessage

      String getMessage()
      Returns a message describing the violation. Cannot return null.
      Returns:
      the message
    • getAttributes

      Set<String> getAttributes()
      Returns the name(s) of the attribute(s) associated with the violation. Cannot return null.
      Returns:
      the set of names