public class QueryFieldNumeric extends AbstractStructureQuery<Property,Number,net.idea.modbcum.q.conditions.NumberCondition>
AbstractStructureQuery.FIELD_NAMES
Modifier and Type | Field and Description |
---|---|
protected Number |
maxValue |
protected AbstractPropertyRetrieval.SearchMode |
searchMode |
static String |
sqlField |
String |
where_all |
String |
where_equal |
String |
where_name |
chemicalsOnly, group, nanomaterial, order_descendant, where_group
condition, fieldname, id, logger, maxRecords, name, page, selected, value
Constructor and Description |
---|
QueryFieldNumeric() |
QueryFieldNumeric(String key,
String cond,
boolean byAlias,
boolean chemicalsOnly,
Property property) |
Modifier and Type | Method and Description |
---|---|
Number |
getMaxValue() |
List<net.idea.modbcum.i.query.QueryParam> |
getParameters() |
String |
getSQL() |
protected boolean |
isAnyField() |
boolean |
isSearchByAlias() |
void |
setFieldname(Property fieldname) |
void |
setMaxValue(Number maxValue) |
void |
setSearchByAlias(boolean value) |
void |
setValue(Number value) |
String |
toString() |
calculateMetric, getObject, isChemicalsOnly, isNanomaterial, isOrder_descendant, isPreferredStructure, isPrescreen, retrieveMetric, retrieveStrucType, retrieveValue, setChemicalsOnly, setNanomaterial, setOrder_descendant
getCategory, getCondition, getFieldname, getId, getKey, getName, getPage, getPageSize, getValue, isSelected, setCondition, setId, setName, setPage, setPageSize, setSelected, stringify, supportsPaging, test
public static final String sqlField
public final String where_all
public final String where_equal
public final String where_name
protected AbstractPropertyRetrieval.SearchMode searchMode
protected Number maxValue
public boolean isSearchByAlias()
public void setSearchByAlias(boolean value)
public Number getMaxValue()
public void setMaxValue(Number maxValue)
public String getSQL() throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
protected boolean isAnyField()
public void setFieldname(Property fieldname)
setFieldname
in interface net.idea.modbcum.i.IParameterizedQuery<Property,Number,net.idea.modbcum.q.conditions.NumberCondition>
setFieldname
in class AbstractQuery<Property,Number,net.idea.modbcum.q.conditions.NumberCondition,IStructureRecord>
public List<net.idea.modbcum.i.query.QueryParam> getParameters() throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
public void setValue(Number value)
setValue
in interface net.idea.modbcum.i.IParameterizedQuery<Property,Number,net.idea.modbcum.q.conditions.NumberCondition>
setValue
in class AbstractQuery<Property,Number,net.idea.modbcum.q.conditions.NumberCondition,IStructureRecord>
public String toString()
toString
in class AbstractQuery<Property,Number,net.idea.modbcum.q.conditions.NumberCondition,IStructureRecord>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.