public class ReadSubstanceRelation extends AbstractStructureQuery<STRUCTURE_RELATION,SubstanceRecord,net.idea.modbcum.q.conditions.NumberCondition>
AbstractStructureQuery.FIELD_NAMES
chemicalsOnly, group, nanomaterial, order_descendant, where_group
condition, fieldname, id, logger, maxRecords, name, page, selected, value
Constructor and Description |
---|
ReadSubstanceRelation() |
ReadSubstanceRelation(STRUCTURE_RELATION relation,
SubstanceRecord id) |
ReadSubstanceRelation(SubstanceRecord structure) |
Modifier and Type | Method and Description |
---|---|
double |
calculateMetric(IStructureRecord object) |
IStructureRecord |
getObject(ResultSet rs) |
List<net.idea.modbcum.i.query.QueryParam> |
getParameters() |
String |
getSQL() |
boolean |
isPrescreen() |
protected void |
retrieveMetric(IStructureRecord record,
ResultSet rs) |
String |
toString() |
isChemicalsOnly, isNanomaterial, isOrder_descendant, isPreferredStructure, retrieveStrucType, retrieveValue, setChemicalsOnly, setNanomaterial, setOrder_descendant
getCategory, getCondition, getFieldname, getId, getKey, getName, getPage, getPageSize, getValue, isSelected, setCondition, setFieldname, setId, setName, setPage, setPageSize, setSelected, setValue, stringify, supportsPaging, test
public ReadSubstanceRelation(SubstanceRecord structure)
public ReadSubstanceRelation()
public ReadSubstanceRelation(STRUCTURE_RELATION relation, SubstanceRecord id)
public String getSQL() throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
public List<net.idea.modbcum.i.query.QueryParam> getParameters() throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
public String toString()
toString
in class AbstractQuery<STRUCTURE_RELATION,SubstanceRecord,net.idea.modbcum.q.conditions.NumberCondition,IStructureRecord>
public boolean isPrescreen()
isPrescreen
in interface net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>
isPrescreen
in class AbstractStructureQuery<STRUCTURE_RELATION,SubstanceRecord,net.idea.modbcum.q.conditions.NumberCondition>
public double calculateMetric(IStructureRecord object)
calculateMetric
in interface net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>
calculateMetric
in class AbstractStructureQuery<STRUCTURE_RELATION,SubstanceRecord,net.idea.modbcum.q.conditions.NumberCondition>
protected void retrieveMetric(IStructureRecord record, ResultSet rs) throws SQLException
retrieveMetric
in class AbstractStructureQuery<STRUCTURE_RELATION,SubstanceRecord,net.idea.modbcum.q.conditions.NumberCondition>
SQLException
public IStructureRecord getObject(ResultSet rs) throws net.idea.modbcum.i.exceptions.AmbitException
getObject
in interface net.idea.modbcum.i.IRetrieval<IStructureRecord>
getObject
in class AbstractStructureQuery<STRUCTURE_RELATION,SubstanceRecord,net.idea.modbcum.q.conditions.NumberCondition>
net.idea.modbcum.i.exceptions.AmbitException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.