Package lumis.util.query
Class QueryValue
- java.lang.Object
-
- lumis.util.query.QueryValue
-
- All Implemented Interfaces:
IQueryValue
@StableMinor(version="16.1", sinceVersion="4.0") public class QueryValue extends java.lang.Object implements IQueryValue
Represents a query value- Since:
- 4.0.0
- Version:
- $Revision: 26156 $ $Date: 2024-01-13 10:26:46 -0300 (Sat, 13 Jan 2024) $
-
-
Constructor Summary
Constructors Constructor Description QueryValue()
QueryValue(java.lang.Object value)
QueryValue(java.lang.Object[] values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addValue(java.lang.Object value)
java.lang.Object
getValue()
java.util.List<java.lang.Object>
getValueParameters()
Returns a list of parameters to this query value.java.lang.Object[]
getValues()
boolean
isValueInParameter()
void
setValue(java.lang.Object value)
void
setValueInParameter(boolean valueInParameter)
void
setValues(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
-
-