eu.esdihumboldt.hale.common.instance.extension.validation
Interface PropertyConstraintValidator
- All Superinterfaces:
- ConstraintValidator
- All Known Implementing Classes:
- CardinalityValidator, NillableFlagValidator, UniqueValidator
public interface PropertyConstraintValidator
- extends ConstraintValidator
Validates property constraints.
- Author:
- Kai Schwierczek
validatePropertyConstraint
void validatePropertyConstraint(Object[] values,
PropertyConstraint constraint,
PropertyDefinition property,
InstanceValidationContext context)
throws ValidationException
- Validate
values
against constraint
. The
constraint and the values belong to property
.
- Parameters:
values
- the values to validate, may be null
constraint
- the constraint to validateproperty
- the property the values and the constraint belong tocontext
- the validation context
- Throws:
ValidationException
- if the validation fails
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d