Class RequiredFieldsVisitor

  • All Implemented Interfaces:
    FieldVisitor

    public class RequiredFieldsVisitor
    extends java.lang.Object
    implements FieldVisitor
    • Constructor Summary

      Constructors 
      Constructor Description
      RequiredFieldsVisitor​(com.caplin.trading.Trade trade, java.util.Map<java.lang.String,​java.util.List<java.lang.String>> fieldToExpectedValueMap)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean fieldIsValid​(java.lang.String field)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RequiredFieldsVisitor

        public RequiredFieldsVisitor​(com.caplin.trading.Trade trade,
                                     java.util.Map<java.lang.String,​java.util.List<java.lang.String>> fieldToExpectedValueMap)
    • Method Detail

      • fieldIsValid

        public boolean fieldIsValid​(java.lang.String field)
        Specified by:
        fieldIsValid in interface FieldVisitor