org.springframework.batch.sample.domain.trade.internal.validator

## 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 and Description
    `TradeValidator()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `supports(java.lang.Class<?> clazz)`
    `void` | `validate(java.lang.Object target, org.springframework.validation.Errors errors)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TradeValidator

          public TradeValidator()

  - ### Method Detail

    - #### supports

          public boolean supports(java.lang.Class<?> clazz)

      Specified by:
        `supports` in interface `org.springframework.validation.Validator`

    - #### validate

          public void validate(java.lang.Object target,
                               org.springframework.validation.Errors errors)

      Specified by:
        `validate` in interface `org.springframework.validation.Validator`