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