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

java.lang.Object
  extended by org.kuali.student.contract.model.validation.ServiceMethodParameterValidator
All Implemented Interfaces:
ModelValidator

public class ServiceMethodParameterValidator
extends Object
implements ModelValidator

This validates a single criteriainoary entry

Author:
nwright

Field Summary
private  Collection errors
           
private  ServiceMethod method
           
private  ServiceMethodParameter parameter
           
 
Constructor Summary
ServiceMethodParameterValidator(ServiceMethodParameter parameter, ServiceMethod method)
           
 
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

parameter

private ServiceMethodParameter parameter

method

private ServiceMethod method

errors

private Collection errors
Constructor Detail

ServiceMethodParameterValidator

public ServiceMethodParameterValidator(ServiceMethodParameter parameter,
                                       ServiceMethod method)
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.