public class RetrieveField<ResultType> extends AbstractQuery<Property,IStructureRecord,net.idea.modbcum.q.conditions.EQCondition,ResultType> implements net.idea.modbcum.i.IQueryRetrieval<ResultType>
Modifier and Type | Field and Description |
---|---|
protected boolean |
addNew |
protected boolean |
chemicalsOnly |
protected AbstractPropertyRetrieval.SearchMode |
searchMode |
protected String |
sql_chemical |
protected String |
sql_chemical_novalue |
protected String |
sql_structure |
protected String |
sql_structure_novalue |
protected String |
where |
condition, fieldname, id, logger, maxRecords, name, page, selected, value
Constructor and Description |
---|
RetrieveField() |
Modifier and Type | Method and Description |
---|---|
double |
calculateMetric(Object object) |
ResultType |
getObject(ResultSet rs) |
List<net.idea.modbcum.i.query.QueryParam> |
getParameters() |
AbstractPropertyRetrieval.SearchMode |
getSearchMode() |
String |
getSQL() |
boolean |
isAddNew() |
boolean |
isChemicalsOnly() |
boolean |
isPrescreen() |
boolean |
isSearchByAlias() |
boolean |
isSearchByID() |
void |
setAddNew(boolean addNew) |
void |
setChemicalsOnly(boolean chemicalsOnly) |
void |
setSearchByAlias(boolean value) |
void |
setSearchByID(boolean value) |
void |
setSearchMode(AbstractPropertyRetrieval.SearchMode searchMode) |
protected String |
sql() |
String |
toString() |
getCategory, getCondition, getFieldname, getId, getKey, getName, getPage, getPageSize, getValue, isSelected, setCondition, setFieldname, setId, setName, setPage, setPageSize, setSelected, setValue, stringify, supportsPaging, test
protected boolean addNew
protected AbstractPropertyRetrieval.SearchMode searchMode
protected boolean chemicalsOnly
protected final String sql_structure
protected final String sql_structure_novalue
protected final String sql_chemical
protected final String sql_chemical_novalue
protected final String where
public boolean isAddNew()
public void setAddNew(boolean addNew)
public AbstractPropertyRetrieval.SearchMode getSearchMode()
public void setSearchMode(AbstractPropertyRetrieval.SearchMode searchMode)
public boolean isChemicalsOnly()
public void setChemicalsOnly(boolean chemicalsOnly)
public boolean isSearchByAlias()
public void setSearchByAlias(boolean value)
public boolean isSearchByID()
public void setSearchByID(boolean value)
protected String sql()
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 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 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
public double calculateMetric(Object object)
calculateMetric
in interface net.idea.modbcum.i.IQueryRetrieval<ResultType>
public boolean isPrescreen()
isPrescreen
in interface net.idea.modbcum.i.IQueryRetrieval<ResultType>
public String toString()
toString
in class AbstractQuery<Property,IStructureRecord,net.idea.modbcum.q.conditions.EQCondition,ResultType>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.