Class MamdaOptionFields


  • public class MamdaOptionFields
    extends MamdaFields
    Maintains a cache of common options related field descriptors.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static com.wombat.mama.MamaFieldDescriptor CONTRACT_SYMBOL  
      static com.wombat.mama.MamaFieldDescriptor EXERCISE_STYLE  
      static com.wombat.mama.MamaFieldDescriptor EXPIRATION_DATE  
      static com.wombat.mama.MamaFieldDescriptor OPEN_INTEREST  
      static com.wombat.mama.MamaFieldDescriptor PUT_CALL  
      static com.wombat.mama.MamaFieldDescriptor STRIKE_PRICE  
      static com.wombat.mama.MamaFieldDescriptor UNDERLYING_SYMBOL  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isSet()  
      static void reset()  
      static void setDictionary​(com.wombat.mama.MamaDictionary dictionary, java.util.Properties properties)
      Set the dictionary for common options fields.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CONTRACT_SYMBOL

        public static com.wombat.mama.MamaFieldDescriptor CONTRACT_SYMBOL
      • UNDERLYING_SYMBOL

        public static com.wombat.mama.MamaFieldDescriptor UNDERLYING_SYMBOL
      • EXPIRATION_DATE

        public static com.wombat.mama.MamaFieldDescriptor EXPIRATION_DATE
      • STRIKE_PRICE

        public static com.wombat.mama.MamaFieldDescriptor STRIKE_PRICE
      • PUT_CALL

        public static com.wombat.mama.MamaFieldDescriptor PUT_CALL
      • OPEN_INTEREST

        public static com.wombat.mama.MamaFieldDescriptor OPEN_INTEREST
      • EXERCISE_STYLE

        public static com.wombat.mama.MamaFieldDescriptor EXERCISE_STYLE
    • Constructor Detail

      • MamdaOptionFields

        public MamdaOptionFields()
    • Method Detail

      • setDictionary

        public static void setDictionary​(com.wombat.mama.MamaDictionary dictionary,
                                         java.util.Properties properties)
        Set the dictionary for common options fields. Maintains a cache of MamaFieldDescriptors for common options related fields. The properties parameter allows users of the API to map the common dictionary names to something else if they are being published under different names.
        Parameters:
        dictionary - A reference to a valid MamaDictionary
        properties - A Properties object containing field mappings. (See MamdaFields for more information)
      • isSet

        public static boolean isSet()
      • reset

        public static void reset()