Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.instance.extension.validation
Interface GroupPropertyConstraintValidator

All Superinterfaces:
ConstraintValidator
All Known Implementing Classes:
CardinalityValidator, ChoiceFlagValidator

public interface GroupPropertyConstraintValidator
extends ConstraintValidator

Validates group property constraints.

Author:
Kai Schwierczek

Method Summary
 void validateGroupPropertyConstraint(Object[] values, GroupPropertyConstraint constraint, GroupPropertyDefinition property, InstanceValidationContext context)
          Validate values against constraint.
 

Method Detail

validateGroupPropertyConstraint

void validateGroupPropertyConstraint(Object[] values,
                                     GroupPropertyConstraint constraint,
                                     GroupPropertyDefinition 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 validate
property - the property the values and the constraint belong to
context - the validation context
Throws:
ValidationException - if the validation fails

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d