Class QueryValueFetcher

  • All Implemented Interfaces:
    ValueFetcher

    public class QueryValueFetcher
    extends Object
    implements ValueFetcher
    Class wrapping the actual query parameters to make them accessible through the ValueFetcher interface.
    • Field Detail

      • messages

        protected static final ResourceBundle messages
        I18N support
    • Constructor Detail

      • QueryValueFetcher

        public QueryValueFetcher​(Object[] parameters)
        Constructor.
        Parameters:
        parameters - the actual parameter values.
    • Method Detail

      • getValue

        public Object getValue​(int whichOne)
        Returns the parameter value for the specified parameter index
        Specified by:
        getValue in interface ValueFetcher
        Parameters:
        whichOne - the parameter index
        Returns:
        the parameter value