public class ReadChemPropertiesByComposition extends net.idea.modbcum.q.query.AbstractQuery<SubstanceRecord,IStructureRecord,net.idea.modbcum.q.conditions.SetCondition,IStructureRecord> implements net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>
| Modifier and Type | Field and Description |
|---|---|
protected IStructureRecord |
record |
| Constructor and Description |
|---|
ReadChemPropertiesByComposition() |
| Modifier and Type | Method and Description |
|---|---|
double |
calculateMetric(IStructureRecord object) |
IStructureRecord |
getObject(ResultSet rs) |
List<net.idea.modbcum.i.query.QueryParam> |
getParameters() |
IStructureRecord |
getRecord() |
String |
getSQL() |
protected String |
getSQLTemplate() |
protected boolean |
isAllowed(CompositionRelation r) |
boolean |
isPrescreen() |
SubstanceRecord |
processDetail(SubstanceRecord target,
IStructureRecord detail)
Hack for merging dataset properties with substances; This is not
necessarily correct, as the substance may have many components!
|
void |
setRecord(IStructureRecord record) |
getCategory, getCondition, getFieldname, getId, getKey, getName, getPage, getPageSize, getValue, isSelected, setCondition, setFieldname, setId, setName, setPage, setPageSize, setSelected, setValue, supportsPaging, test, toStringprotected IStructureRecord record
public IStructureRecord getRecord()
public void setRecord(IStructureRecord record)
protected String getSQLTemplate()
protected boolean isAllowed(CompositionRelation r)
public String getSQL() throws net.idea.modbcum.i.exceptions.AmbitException
getSQL in interface net.idea.modbcum.i.IQueryObject<IStructureRecord>net.idea.modbcum.i.exceptions.AmbitExceptionpublic List<net.idea.modbcum.i.query.QueryParam> getParameters() throws net.idea.modbcum.i.exceptions.AmbitException
getParameters in interface net.idea.modbcum.i.IQueryObject<IStructureRecord>net.idea.modbcum.i.exceptions.AmbitExceptionpublic 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.AmbitExceptionpublic 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 SubstanceRecord processDetail(SubstanceRecord target, IStructureRecord detail) throws Exception
target - detail - ExceptionCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.