Class QueryValue

  • All Implemented Interfaces:
    IQueryValue

    @StableMinor(version="16.0",
                 sinceVersion="4.0")
    public class QueryValue
    extends java.lang.Object
    implements IQueryValue
    Represents a query value
    Since:
    4.0.0
    Version:
    $Revision: 25808 $ $Date: 2023-07-04 15:20:55 -0300 (Tue, 04 Jul 2023) $
    • Constructor Detail

      • QueryValue

        public QueryValue()
      • QueryValue

        public QueryValue​(java.lang.Object value)
      • QueryValue

        public QueryValue​(java.lang.Object[] values)
    • Method Detail

      • getValue

        public java.lang.Object getValue()
      • setValue

        public void setValue​(java.lang.Object value)
      • getValues

        public java.lang.Object[] getValues()
      • setValues

        public void setValues​(java.lang.Object[] values)
      • addValue

        public void addValue​(java.lang.Object value)
      • isValueInParameter

        public boolean isValueInParameter()
      • setValueInParameter

        public void setValueInParameter​(boolean valueInParameter)
      • getValueParameters

        public java.util.List<java.lang.Object> getValueParameters()
        Returns a list of parameters to this query value.

        If the query value is a sub-query with parameters for example you would pass the sub-query parameters via this method. These parameters will be used to replace the ? entries in the query value.

        Returns:
        the list of parameters, in the same order that they will be applied.
        Since:
        7.1.0