Constraint

abstract class
Constraint

Contains the properties of a constraint definition.

A constraint can be defined on a class, a property or a getter method.
The Constraint class encapsulates all the configuration required for
validating this class, property or getter result successfully.

Constraint instances are immutable and serializable.

Constants

DEFAULT_GROUP

The name of the group given to all constraints with no explicit group.