Package lumis.util.query
Class QueryValue
- java.lang.Object
-
- lumis.util.query.QueryValue
-
- All Implemented Interfaces:
IQueryValue
@StableMinor(version="14.0", sinceVersion="4.0") public class QueryValue extends Object implements IQueryValue
Represents a query value- Since:
- 4.0.0
- Version:
- $Revision: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
-
-
Constructor Summary
Constructors Constructor Description QueryValue()
QueryValue(Object value)
QueryValue(Object[] values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addValue(Object value)
Object
getValue()
List<Object>
getValueParameters()
Returns a list of parameters to this query value.Object[]
getValues()
boolean
isValueInParameter()
void
setValue(Object value)
void
setValueInParameter(boolean valueInParameter)
void
setValues(Object[] values)
-
-
-
Method Detail
-
getValue
public Object getValue()
-
setValue
public void setValue(Object value)
-
getValues
public Object[] getValues()
-
setValues
public void setValues(Object[] values)
-
addValue
public void addValue(Object value)
-
isValueInParameter
public boolean isValueInParameter()
-
setValueInParameter
public void setValueInParameter(boolean valueInParameter)
-
getValueParameters
public List<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
-
-