Class QueryValue

  • All Implemented Interfaces:
    IQueryValue

    @StableMinor(version="17.0",
                 sinceVersion="4.0")
    public class QueryValue
    extends java.lang.Object
    implements IQueryValue
    Represents a query value
    Since:
    4.0.0
    Version:
    $Revision: 26587 $ $Date: 2024-08-26 21:09:17 -0300 (Mon, 26 Aug 2024) $
    • 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