org.kuali.student.contract.model.validation
Class SearchResultValidator
java.lang.Object
org.kuali.student.contract.model.validation.SearchResultValidator
- All Implemented Interfaces:
- ModelValidator
public class SearchResultValidator
- extends Object
- implements ModelValidator
This validates a single resultinoary entry
- Author:
- nwright
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
result
private SearchResult result
searchType
private SearchType searchType
errors
private Collection errors
SearchResultValidator
public SearchResultValidator(SearchResult result,
SearchType searchType)
validate
public Collection<String> validate()
- Specified by:
validate
in interface ModelValidator
basicValidation
private void basicValidation()
addError
private void addError(String msg)
Copyright © 2007-2012 The Kuali Foundation. All Rights Reserved.