Class TradeValidator
- java.lang.Object
- org.springframework.batch.sample.domain.trade.internal.validator.TradeValidator
- All Implemented Interfaces:
org.springframework.validation.Validator
public class TradeValidator extends java.lang.Object implements org.springframework.validation.Validator
- Author:
- Michael Minella
Constructor Summary
Constructors Constructor Description TradeValidator()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
supports(java.lang.Class<?> clazz)
void
validate(java.lang.Object target, org.springframework.validation.Errors errors)
Method Detail
supports
public boolean supports(java.lang.Class<?> clazz)
- Specified by:
supports
in interfaceorg.springframework.validation.Validator
validate
public void validate(java.lang.Object target, org.springframework.validation.Errors errors)
- Specified by:
validate
in interfaceorg.springframework.validation.Validator