org.kuali.student.contract.model.validation
Class FieldValidator
java.lang.Object
org.kuali.student.contract.model.validation.FieldValidator
- All Implemented Interfaces:
- ModelValidator
public class FieldValidator
- extends Object
- implements ModelValidator
This validates a single field definition
- Author:
- nwright
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
field
private Field field
model
private DictionaryModel model
errors
private Collection errors
FieldValidator
public FieldValidator(Field field,
DictionaryModel sheet)
validate
public Collection<String> validate()
- Specified by:
validate
in interface ModelValidator
findConstraint
private Constraint findConstraint(String id)
validateComplexConstraint
private void validateComplexConstraint(Constraint cons)
addError
private void addError(String msg)
Copyright © 2007-2012 The Kuali Foundation. All Rights Reserved.