Class QueryValueFetcher
- java.lang.Object
-
- com.sun.jdo.spi.persistence.support.sqlstore.query.jqlc.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 Summary
Fields Modifier and Type Field Description protected static ResourceBundle
messages
I18N support
-
Constructor Summary
Constructors Constructor Description QueryValueFetcher(Object[] parameters)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getValue(int whichOne)
Returns the parameter value for the specified parameter index
-
-
-
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 interfaceValueFetcher
- Parameters:
whichOne
- the parameter index- Returns:
- the parameter value
-
-