Package ejava.jpa.example.validation
-
Interface Summary Interface Description DataChecks DBChecks Drivers POCs PreCheck This validation group is used to check if enough info is present to derive restValidationSequence This group specification defines a sequence of groups to validate against until one of them fails or they all pass. -
Class Summary Class Description Address1 This class provides an example of using GroupSequences where you can organize validation groups into a sequence which will short circuit once one of the groups fails.Address2 This class provides an example of using GroupSequences where you can organize validation groups into a sequence which will short circuit once one of the groups fails.Book This class provides an example of using an XML descriptor to define constraintsCityStateOrZipValidator This type check will determine if city and state or zip where expressed for an Address.MinAgeValidator Person This class provides an example of several of the pre-defined constraints supplied within the validation APIPurchase PurchaseItem -
Annotation Types Summary Annotation Type Description CityStateOrZip Defines a type constraint annotation for expressing an address must have either city&state or zip code expressed.CityStateOrZip.List Defines an array of annotations so that more than one can be applied.MinAge Defines a constraint annotation for expressing a minimum age.MinAge.List Defines an array of annotations so that more than one can be applied.ValidName Defines a validation compositionValidName.List Defines an array of annotations so that more than one can be applied.