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

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

Field Summary
private  Collection errors
           
private  SearchResult result
           
private  SearchType searchType
           
 
Constructor Summary
SearchResultValidator(SearchResult result, 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

result

private SearchResult result

searchType

private SearchType searchType

errors

private Collection errors
Constructor Detail

SearchResultValidator

public SearchResultValidator(SearchResult result,
                             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.