Package javax.validation


package javax.validation
Top level package of the Bean Validation API. The main runtime artifacts are: The main constraint definition artifacts are:
  • Constraint: annotation marking an annotation as being a constraint
  • ConstraintValidator: interface implemented by the piece of code validating a given constraint
  • ReportAsSingleViolation: marks a composed constraint as returning a single constraint violation report
The main constraint declaration artifacts are:
  • Valid: annotation marking an association as cascaded during validation
  • GroupSequence: defines a sequence of groups that should be validated sequentially