public class RetrieveProfileValuesAsRow extends AbstractQuery<Profile<Property>,int[],net.idea.modbcum.q.conditions.SetCondition,IStructureRecord> implements net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>
Modifier and Type | Field and Description |
---|---|
protected boolean |
addNew |
protected Boolean |
chemicalsOnly |
static String |
NaN |
protected IStructureRecord |
record |
protected String |
sql_chemical |
protected String |
sql_property |
protected String |
sql_structure |
condition, fieldname, id, logger, maxRecords, name, page, selected, value
Constructor and Description |
---|
RetrieveProfileValuesAsRow() |
RetrieveProfileValuesAsRow(Profile profile,
boolean chemicalsOnly) |
Modifier and Type | Method and Description |
---|---|
double |
calculateMetric(IStructureRecord object) |
Boolean |
getChemicalsOnly() |
IStructureRecord |
getObject(ResultSet rs) |
List<net.idea.modbcum.i.query.QueryParam> |
getParameters() |
protected String |
getPropertySQL() |
protected String |
getPropertyWhere() |
IStructureRecord |
getRecord() |
String |
getSQL() |
protected String |
getStructureWhere() |
boolean |
isAddNew() |
boolean |
isPrescreen() |
void |
setAddNew(boolean addNew) |
void |
setChemicalsOnly(Boolean chemicalsOnly) |
void |
setRecord(IStructureRecord record) |
getCategory, getCondition, getFieldname, getId, getKey, getName, getPage, getPageSize, getValue, isSelected, setCondition, setFieldname, setId, setName, setPage, setPageSize, setSelected, setValue, stringify, supportsPaging, test, toString
public static final String NaN
protected Boolean chemicalsOnly
protected IStructureRecord record
protected boolean addNew
protected final String sql_property
protected final String sql_structure
protected final String sql_chemical
public RetrieveProfileValuesAsRow()
public RetrieveProfileValuesAsRow(Profile profile, boolean chemicalsOnly)
public Boolean getChemicalsOnly()
public void setChemicalsOnly(Boolean chemicalsOnly)
public IStructureRecord getRecord()
public void setRecord(IStructureRecord record)
public boolean isAddNew()
public void setAddNew(boolean addNew)
protected String getStructureWhere() throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
protected String getPropertySQL()
protected String getPropertyWhere()
public String getSQL() throws net.idea.modbcum.i.exceptions.AmbitException
getSQL
in interface net.idea.modbcum.i.IQueryObject<IStructureRecord>
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<IStructureRecord>
net.idea.modbcum.i.exceptions.AmbitException
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.AmbitException
public double calculateMetric(IStructureRecord object)
calculateMetric
in interface net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>
public boolean isPrescreen()
isPrescreen
in interface net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.