org.kuali.student.contract.model.validation
Class SearchCriteriaValidator
java.lang.Object
org.kuali.student.contract.model.validation.SearchCriteriaValidator
- All Implemented Interfaces:
- ModelValidator
public class SearchCriteriaValidator
- extends Object
- implements ModelValidator
This validates a single criteriainoary entry
- Author:
- nwright
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
criteria
private SearchCriteria criteria
searchType
private SearchType searchType
errors
private Collection errors
SearchCriteriaValidator
public SearchCriteriaValidator(SearchCriteria criteria,
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.