Constraint
.
@param value the value to be validated.This value must be of appropiate type, that is , either an Object or an array of Objects, in consistence with the Cardinal represented by this Object.
@param name the element name, value of which is being validated.It is used only in case of Constraint
failure, to construct the failure message.
@return Collection
the Collection ofConstraintFailure
Objects. Collection is empty if there are no failures. This Constraint
will fail if the value does not conform to the structure represented by this object.
|
|
|
|