Class BoundParameters

    • Constructor Detail

      • BoundParameters

        public BoundParameters​(Parameters param)
        Creates a new BoundParameters using the parameters in the specified Parameters object.
        param - parameters whose values we want to copy into this BoundParameters
    • Method Detail

      • getBean

        public Object getBean()
        Gets the bean that is bound the contained parameters.
        the bean that is bound the contained parameters.
      • setBean

        public void setBean​(Object bean)
        Sets the bean to bind to the contained parameters. This will also set the bean's corresponding properties to the current parameter values.
        bean - the bean to bind.
      • setValue

        public void setValue​(String paramName,
                             Object val)
        Sets the specified parameter name to the specified value.
        Specified by:
        setValue in interface Parameters
        setValue in class DefaultParameters
        paramName - the name of the parameter to set to the new value
        val - the new value