Class BoundParameters

    • Constructor Detail

      • BoundParameters

        public BoundParameters​(Parameters param)
        Creates a new BoundParameters using the parameters in the specified Parameters object.
        Parameters:
        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.
        Returns:
        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.
        Parameters:
        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
        Overrides:
        setValue in class DefaultParameters
        Parameters:
        paramName - the name of the parameter to set to the new value
        val - the new value