Class 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 
      ConstructorDescription
      TradeValidator() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      booleansupports​(java.lang.Class<?> clazz) 
      voidvalidate​(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