Constraint
Constraint
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. |
CLASS_CONSTRAINT | Marks a constraint that can be put onto classes. |
PROPERTY_CONSTRAINT | Marks a constraint that can be put onto properties. |
Properties
登录查看完整内容
|