Start Validating hava array size

Validating hava array size

Table 2.1, “The various Constraint Violation methods” gives an overview of these methods.

Hibernate Validator comprises a basic set of commonly used constraints.

These are foremost the constraints defined by the Bean Validation specification (see Table 2.2, “Bean Validation constraints”).

comments An Array in Java can hold arbitrary number of elements, depending on how the array object was created.

To perform operations on array, it is fundamental to know it's length.

Additionally, Hibernate Validator provides useful custom constraints (see Table 2.3, “Custom constraints” and Table 2.4, “Custom country specific constraints”).

Table 2.2, “Bean Validation constraints” shows purpose and supported data types of all constraints specified in the Bean Validation API.

If the object is a map, the value elements are validated recursively.