| java.lang.Object org.theospi.utils.mvc.impl.ValidatorBase org.theospi.utils.mvc.impl.SimpleValidator
Field Summary | |
final protected transient Log | logger |
logger | final protected transient Log logger(Code) | | |
getRequiredFields | public List getRequiredFields()(Code) | | |
setMessageCode | public void setMessageCode(String messageCode)(Code) | | |
setRequiredFields | public void setRequiredFields(List requiredFields)(Code) | | |
supports | public boolean supports(Class clazz)(Code) | | Return whether or not this object can validate objects
of the given class.
|
validate | public void validate(Object obj, Errors errors)(Code) | | Validate an object, which must be of a class for which
the supports() method returned true.
Parameters: obj - Populated object to validate Parameters: errors - Errors object we're building. May containerrors for this field relating to types. |
Methods inherited from org.theospi.utils.mvc.impl.ValidatorBase | protected void popNestedPath(Errors errors)(Code)(Java Doc) protected void pushNestedPath(String newPath, Errors errors)(Code)(Java Doc)
|
|
|