org.kuali.student.contract.model.validation
Class DictionaryModelValidator
java.lang.Object
org.kuali.student.contract.model.validation.DictionaryModelValidator
- All Implemented Interfaces:
- ModelValidator
public class DictionaryModelValidator
- extends Object
- implements ModelValidator
Validates the entire spreadsheet model
- Author:
- nwright
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
model
private DictionaryModel model
finder
private ModelFinder finder
errors
List<String> errors
DictionaryModelValidator
public DictionaryModelValidator(DictionaryModel model)
validate
public Collection<String> validate()
- Specified by:
validate
in interface ModelValidator
validateConstraints
private void validateConstraints()
validateFields
private void validateFields()
validateDefaultDictionary
private void validateDefaultDictionary()
validateStateOverrideDictionary
private void validateStateOverrideDictionary()
checkForDuplicateDictionaryEntries
private void checkForDuplicateDictionaryEntries()
addError
private void addError(String msg)
Copyright © 2007-2012 The Kuali Foundation. All Rights Reserved.