Class RequiredTradeFieldsValidator

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addExpectedFieldValues​(java.lang.String fieldName, java.util.List<java.lang.String> expectedFieldValues)  
      void validate​(com.caplin.trading.Trade trade)
      Checks the validity of a Trade .
      • Methods inherited from class java.lang.Object

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

      • RequiredTradeFieldsValidator

        public RequiredTradeFieldsValidator​(java.lang.String... fieldNames)
      • RequiredTradeFieldsValidator

        public RequiredTradeFieldsValidator​(java.util.Set<java.lang.String> fieldNames)
    • Method Detail

      • addExpectedFieldValues

        public void addExpectedFieldValues​(java.lang.String fieldName,
                                           java.util.List<java.lang.String> expectedFieldValues)