Package quadbase.reportdesigner.util
Interface IQueryMultiValueInParam
- All Superinterfaces:
quadbase.common.util.IQueryInParam,IQueryInParam,quadbase.common.util.IQueryMultiValueInParam
- All Known Implementing Classes:
SimpleQueryMultiValueInParam
public interface IQueryMultiValueInParam
extends IQueryInParam, quadbase.common.util.IQueryMultiValueInParam
This class is for parameters that may expand to multiple values. Such is the case for parameters
specified in the 'IN' clause of a query. For example, a query may have the following form:
The parameter 'pids' may have one or more values.
Implementation Notes:
This interface implements the IQueryInParam interface and inherits the 'getValue' and 'setValue' methods. These methods should be implemented to set and retrieve the first value only. Do not use these methods to set and retrieve the entire vector, instead use the 'getValues' and 'setValues' methods from this interface.
SELECT * FROM Products
WHERE ProductID IN (:pids)
The parameter 'pids' may have one or more values.
Implementation Notes:
This interface implements the IQueryInParam interface and inherits the 'getValue' and 'setValue' methods. These methods should be implemented to set and retrieve the first value only. Do not use these methods to set and retrieve the entire vector, instead use the 'getValues' and 'setValues' methods from this interface.
-
Method Summary
Methods inherited from interface quadbase.common.util.IQueryInParam
getDefaultSql, setDefaultSqlMethods inherited from interface quadbase.reportdesigner.util.IQueryInParam
getColumnName, getDefaultValue, getParamName, getPromptName, getSqlType, getTableName, getValue, isMapToColumn, setColumnName, setDefaultValue, setMapToColumn, setPromptName, setSqlType, setTableName, setValue
-
Method Details
-
getValues
Vector getValues()- Specified by:
getValuesin interfacequadbase.common.util.IQueryMultiValueInParam
-
setValues
- Specified by:
setValuesin interfacequadbase.common.util.IQueryMultiValueInParam
-