public abstract class DictionaryQuery<T extends Dictionary> extends AbstractQuery<String,String,net.idea.modbcum.q.conditions.StringCondition,T> implements net.idea.modbcum.i.IQueryRetrieval<T>
Modifier and Type | Field and Description |
---|---|
static String |
SQL |
condition, fieldname, id, logger, maxRecords, name, page, selected, value
Constructor and Description |
---|
DictionaryQuery() |
DictionaryQuery(String value) |
Modifier and Type | Method and Description |
---|---|
double |
calculateMetric(Dictionary object) |
String |
getFieldname() |
T |
getObject(ResultSet rs) |
List<net.idea.modbcum.i.query.QueryParam> |
getParameters() |
String |
getSQL() |
protected abstract String |
getTemplateName() |
boolean |
isPrescreen() |
String |
toString() |
getCategory, getCondition, getId, getKey, getName, getPage, getPageSize, getValue, isSelected, setCondition, setFieldname, setId, setName, setPage, setPageSize, setSelected, setValue, stringify, supportsPaging, test
public static final String SQL
public DictionaryQuery()
public DictionaryQuery(String value)
public List<net.idea.modbcum.i.query.QueryParam> getParameters() throws net.idea.modbcum.i.exceptions.AmbitException
getParameters
in interface net.idea.modbcum.i.IQueryObject<T extends Dictionary>
net.idea.modbcum.i.exceptions.AmbitException
public String getSQL() throws net.idea.modbcum.i.exceptions.AmbitException
getSQL
in interface net.idea.modbcum.i.IQueryObject<T extends Dictionary>
net.idea.modbcum.i.exceptions.AmbitException
protected abstract String getTemplateName()
public String getFieldname()
getFieldname
in interface net.idea.modbcum.i.IParameterizedQuery<String,String,net.idea.modbcum.q.conditions.StringCondition>
getFieldname
in class AbstractQuery<String,String,net.idea.modbcum.q.conditions.StringCondition,T extends Dictionary>
public T getObject(ResultSet rs) throws net.idea.modbcum.i.exceptions.AmbitException
getObject
in interface net.idea.modbcum.i.IRetrieval<T extends Dictionary>
net.idea.modbcum.i.exceptions.AmbitException
public double calculateMetric(Dictionary object)
calculateMetric
in interface net.idea.modbcum.i.IQueryRetrieval<T extends Dictionary>
public boolean isPrescreen()
isPrescreen
in interface net.idea.modbcum.i.IQueryRetrieval<T extends Dictionary>
public String toString()
toString
in class AbstractQuery<String,String,net.idea.modbcum.q.conditions.StringCondition,T extends Dictionary>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.