Package quadbase.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:
     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 Details

    • getValues

      Vector getValues()
      Specified by:
      getValues in interface quadbase.common.util.IQueryMultiValueInParam
    • setValues

      void setValues(Vector values)
      Specified by:
      setValues in interface quadbase.common.util.IQueryMultiValueInParam