public class ReadStructureRelation extends AbstractStructureQuery<String,Integer,net.idea.modbcum.q.conditions.NumberCondition>
AbstractStructureQuery.FIELD_NAMES
Modifier and Type | Field and Description |
---|---|
static String |
sql |
chemicalsOnly, group, nanomaterial, order_descendant, where_group
condition, fieldname, id, logger, maxRecords, name, page, selected, value
Constructor and Description |
---|
ReadStructureRelation() |
ReadStructureRelation(IStructureRecord structure) |
ReadStructureRelation(String relation,
Integer id) |
Modifier and Type | Method and Description |
---|---|
double |
calculateMetric(IStructureRecord object) |
List<net.idea.modbcum.i.query.QueryParam> |
getParameters() |
String |
getSQL() |
boolean |
isPrescreen() |
protected void |
retrieveMetric(IStructureRecord record,
ResultSet rs) |
String |
toString() |
getObject, 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 static final String sql
public ReadStructureRelation(IStructureRecord structure)
public ReadStructureRelation()
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<String,Integer,net.idea.modbcum.q.conditions.NumberCondition,IStructureRecord>
public boolean isPrescreen()
isPrescreen
in interface net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>
isPrescreen
in class AbstractStructureQuery<String,Integer,net.idea.modbcum.q.conditions.NumberCondition>
public double calculateMetric(IStructureRecord object)
calculateMetric
in interface net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>
calculateMetric
in class AbstractStructureQuery<String,Integer,net.idea.modbcum.q.conditions.NumberCondition>
protected void retrieveMetric(IStructureRecord record, ResultSet rs) throws SQLException
retrieveMetric
in class AbstractStructureQuery<String,Integer,net.idea.modbcum.q.conditions.NumberCondition>
SQLException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.