org.kuali.student.contract.model.validation
Class SearchCriteriaValidator

java.lang.Object
  extended by 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

Field Summary
private  SearchCriteria criteria
           
private  Collection errors
           
private  SearchType searchType
           
 
Constructor Summary
SearchCriteriaValidator(SearchCriteria criteria, SearchType searchType)
           
 
Method Summary
private  void addError(String msg)
           
private  void basicValidation()
           
 Collection<String> validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

criteria

private SearchCriteria criteria

searchType

private SearchType searchType

errors

private Collection errors
Constructor Detail

SearchCriteriaValidator

public SearchCriteriaValidator(SearchCriteria criteria,
                               SearchType searchType)
Method Detail

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.