public abstract class FieldConstraint extends Object implements ClassConstraint
| Constructor and Description |
|---|
FieldConstraint() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
check(Mapper mapper,
MappedClass mc,
MappedField mf,
Set<ConstraintViolation> ve) |
void |
check(Mapper mapper,
MappedClass mc,
Set<ConstraintViolation> ve)
Check that a MappedClass meets the constraint
|
public final void check(Mapper mapper, MappedClass mc, Set<ConstraintViolation> ve)
ClassConstraintcheck in interface ClassConstraintmapper - the Mapper to use for validationmc - the MappedClass to checkve - the set of violationsprotected abstract void check(Mapper mapper, MappedClass mc, MappedField mf, Set<ConstraintViolation> ve)