ResultType
- public class RetrieveModelTemplates<ResultType> extends AbstractQuery<ModelQueryResults,IStructureRecord,net.idea.modbcum.q.conditions.EQCondition,ResultType> implements net.idea.modbcum.i.IQueryRetrieval<ResultType>
Modifier and Type | Field and Description |
---|---|
protected boolean |
chemicalsOnly |
protected String |
sql_chemicals |
protected String |
sql_structure |
protected String |
sql_templateall |
protected String |
sql_where |
condition, fieldname, id, logger, maxRecords, name, page, selected, value
Constructor and Description |
---|
RetrieveModelTemplates() |
Modifier and Type | Method and Description |
---|---|
double |
calculateMetric(ResultType object) |
ResultType |
getObject(ResultSet rs) |
List<net.idea.modbcum.i.query.QueryParam> |
getParameters() |
String |
getSQL() |
boolean |
isChemicalsOnly() |
boolean |
isPrescreen() |
void |
setChemicalsOnly(boolean chemicalsOnly) |
getCategory, getCondition, getFieldname, getId, getKey, getName, getPage, getPageSize, getValue, isSelected, setCondition, setFieldname, setId, setName, setPage, setPageSize, setSelected, setValue, stringify, supportsPaging, test, toString
protected boolean chemicalsOnly
protected String sql_chemicals
protected String sql_structure
protected String sql_where
protected String sql_templateall
public boolean isChemicalsOnly()
public void setChemicalsOnly(boolean chemicalsOnly)
public double calculateMetric(ResultType object)
calculateMetric
in interface net.idea.modbcum.i.IQueryRetrieval<ResultType>
public boolean isPrescreen()
isPrescreen
in interface net.idea.modbcum.i.IQueryRetrieval<ResultType>
public List<net.idea.modbcum.i.query.QueryParam> getParameters() throws net.idea.modbcum.i.exceptions.AmbitException
getParameters
in interface net.idea.modbcum.i.IQueryObject<ResultType>
net.idea.modbcum.i.exceptions.AmbitException
public String getSQL() throws net.idea.modbcum.i.exceptions.AmbitException
getSQL
in interface net.idea.modbcum.i.IQueryObject<ResultType>
net.idea.modbcum.i.exceptions.AmbitException
public ResultType getObject(ResultSet rs) throws net.idea.modbcum.i.exceptions.AmbitException
getObject
in interface net.idea.modbcum.i.IRetrieval<ResultType>
net.idea.modbcum.i.exceptions.AmbitException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.