Class ModelObjectMap

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class ModelObjectMap
    extends PropertyMap
    A map which stores all types which cannot be stored in a query profile that is rich model objects.

    This map will deep copy not only the model object map, but also each clonable member in the map.

    Author:
    bratseth
    • Constructor Summary

      Constructors 
      Constructor Description
      ModelObjectMap()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean shouldSet​(com.yahoo.processing.request.CompoundName name, java.lang.Object value)
      Returns true if the class of the value is *not* acceptable as a query profile value, and therefore should be set in this.
      • Methods inherited from class com.yahoo.processing.request.Properties

        asBoolean, asDouble, asInteger, asLong, asString, chain, clearAll, clearAll, clearAll, clearAll, cloneMap, get, get, get, get, get, get, get, getBoolean, getBoolean, getBoolean, getBoolean, getDouble, getDouble, getDouble, getDouble, getInstance, getInteger, getInteger, getInteger, getInteger, getLong, getLong, getLong, getLong, getString, getString, getString, getString, listProperties, listProperties, listProperties, listProperties, listProperties, listProperties, listProperties, set, set, set
      • Methods inherited from class java.lang.Object

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

      • ModelObjectMap

        public ModelObjectMap()
    • Method Detail

      • shouldSet

        protected boolean shouldSet​(com.yahoo.processing.request.CompoundName name,
                                    java.lang.Object value)
        Returns true if the class of the value is *not* acceptable as a query profile value, and therefore should be set in this.
        Overrides:
        shouldSet in class PropertyMap