Class ModelValueProvider

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ANY_CONFIG
      Constant for no configuration selected.
      protected java.util.Map<java.lang.String,​java.lang.Object> values
      The values.
    • Constructor Summary

      Constructors 
      Constructor Description
      ModelValueProvider()
      Create a new provider.
      ModelValueProvider​(java.util.Map<java.lang.String,​java.lang.Object> values)
      Create a new provider.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getValue​(java.lang.String configname)
      Get the value.
      java.util.Map<java.lang.String,​java.lang.Object> getValues()
      Get the values.
      void setValue​(java.lang.Object value)
      Set the value.
      void setValue​(java.lang.String configname, java.lang.Object value)
      Set the value.
      void setValues​(java.util.Map<java.lang.String,​java.lang.Object> values)
      Set the values.
      • Methods inherited from class java.lang.Object

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

      • ANY_CONFIG

        public static final java.lang.String ANY_CONFIG
        Constant for no configuration selected.
        See Also:
        Constant Field Values
      • values

        protected java.util.Map<java.lang.String,​java.lang.Object> values
        The values.
    • Constructor Detail

      • ModelValueProvider

        public ModelValueProvider()
        Create a new provider.
      • ModelValueProvider

        public ModelValueProvider​(java.util.Map<java.lang.String,​java.lang.Object> values)
        Create a new provider.
    • Method Detail

      • getValue

        public java.lang.Object getValue​(java.lang.String configname)
        Get the value.
        Specified by:
        getValue in interface IModelValueProvider
        Returns:
        The value.
      • setValue

        public void setValue​(java.lang.Object value)
        Set the value.
        Parameters:
        value - The value to set.
      • setValue

        public void setValue​(java.lang.String configname,
                             java.lang.Object value)
        Set the value.
        Parameters:
        value - The value to set.
      • getValues

        public java.util.Map<java.lang.String,​java.lang.Object> getValues()
        Get the values.
        Returns:
        the values.
      • setValues

        public void setValues​(java.util.Map<java.lang.String,​java.lang.Object> values)
        Set the values.
        Parameters:
        values - The values to set.