public abstract class AbstractStructureQuery<F,T,C extends net.idea.modbcum.i.IQueryCondition> extends AbstractQuery<F,T,C,IStructureRecord> implements net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
AbstractStructureQuery.FIELD_NAMES  | 
| Modifier and Type | Field and Description | 
|---|---|
protected boolean | 
chemicalsOnly  | 
protected static String | 
group  | 
protected boolean | 
nanomaterial  | 
protected boolean | 
order_descendant  | 
protected static String | 
where_group  | 
condition, fieldname, id, logger, maxRecords, name, page, selected, value| Constructor and Description | 
|---|
AbstractStructureQuery()  | 
| Modifier and Type | Method and Description | 
|---|---|
double | 
calculateMetric(IStructureRecord object)  | 
IStructureRecord | 
getObject(ResultSet rs)  | 
boolean | 
isChemicalsOnly()  | 
boolean | 
isNanomaterial()  | 
boolean | 
isOrder_descendant()  | 
protected boolean | 
isPreferredStructure()  | 
boolean | 
isPrescreen()  | 
protected void | 
retrieveMetric(IStructureRecord record,
              ResultSet rs)  | 
protected void | 
retrieveStrucType(IStructureRecord record,
                 ResultSet rs)  | 
protected Object | 
retrieveValue(ResultSet rs)  | 
void | 
setChemicalsOnly(boolean chemicalsOnly)  | 
void | 
setNanomaterial(boolean nanomaterial)  | 
void | 
setOrder_descendant(boolean order_descendant)  | 
getCategory, getCondition, getFieldname, getId, getKey, getName, getPage, getPageSize, getValue, isSelected, setCondition, setFieldname, setId, setName, setPage, setPageSize, setSelected, setValue, stringify, supportsPaging, test, toStringprotected boolean order_descendant
protected boolean chemicalsOnly
protected boolean nanomaterial
protected static final String group
protected static final String where_group
public boolean isNanomaterial()
public void setNanomaterial(boolean nanomaterial)
public IStructureRecord getObject(ResultSet rs) throws net.idea.modbcum.i.exceptions.AmbitException
getObject in interface net.idea.modbcum.i.IRetrieval<IStructureRecord>net.idea.modbcum.i.exceptions.AmbitExceptionprotected boolean isPreferredStructure()
protected void retrieveStrucType(IStructureRecord record, ResultSet rs) throws SQLException
SQLExceptionprotected void retrieveMetric(IStructureRecord record, ResultSet rs) throws SQLException
SQLExceptionprotected Object retrieveValue(ResultSet rs) throws SQLException
SQLExceptionpublic boolean isPrescreen()
isPrescreen in interface net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>public double calculateMetric(IStructureRecord object)
calculateMetric in interface net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>public boolean isChemicalsOnly()
public void setChemicalsOnly(boolean chemicalsOnly)
public boolean isOrder_descendant()
public void setOrder_descendant(boolean order_descendant)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.