public class QueryStructureByID extends AbstractStructureQuery<ISourceDataset,IStructureRecord,net.idea.modbcum.q.conditions.NumberCondition>
AbstractStructureQuery.FIELD_NAMES
Modifier and Type | Field and Description |
---|---|
protected IStructureRecord |
maxValue |
protected int |
metric |
static String |
sqlDataset |
static String |
sqlField |
static String |
sqlQuery |
protected String |
text |
chemicalsOnly, group, nanomaterial, order_descendant, where_group
condition, fieldname, id, logger, maxRecords, name, page, selected, value
Constructor and Description |
---|
QueryStructureByID() |
QueryStructureByID(int idstructure) |
QueryStructureByID(int idstructure1,
int idstructure2) |
QueryStructureByID(IStructureRecord record) |
Modifier and Type | Method and Description |
---|---|
IStructureRecord |
getMaxValue() |
int |
getMetric() |
long |
getPageSize() |
List<net.idea.modbcum.i.query.QueryParam> |
getParameters() |
String |
getSQL() |
String |
getText() |
protected boolean |
isPreferredStructure() |
void |
setMaxValue(IStructureRecord maxValue) |
void |
setMetric(int metric) |
void |
setPageSize(long records) |
void |
setText(String text) |
String |
toString() |
calculateMetric, getObject, isChemicalsOnly, isNanomaterial, isOrder_descendant, isPrescreen, retrieveMetric, retrieveStrucType, retrieveValue, setChemicalsOnly, setNanomaterial, setOrder_descendant
getCategory, getCondition, getFieldname, getId, getKey, getName, getPage, getValue, isSelected, setCondition, setFieldname, setId, setName, setPage, setSelected, setValue, stringify, supportsPaging, test
protected IStructureRecord maxValue
public static final String sqlField
public static final String sqlDataset
public static final String sqlQuery
protected int metric
protected String text
public QueryStructureByID()
public QueryStructureByID(IStructureRecord record)
public QueryStructureByID(int idstructure)
public QueryStructureByID(int idstructure1, int idstructure2)
public String getText()
public void setText(String text)
public int getMetric()
public void setMetric(int metric)
public long getPageSize()
getPageSize
in interface net.idea.modbcum.i.IQueryObject<IStructureRecord>
getPageSize
in class AbstractQuery<ISourceDataset,IStructureRecord,net.idea.modbcum.q.conditions.NumberCondition,IStructureRecord>
public void setPageSize(long records)
setPageSize
in interface net.idea.modbcum.i.IQueryObject<IStructureRecord>
setPageSize
in class AbstractQuery<ISourceDataset,IStructureRecord,net.idea.modbcum.q.conditions.NumberCondition,IStructureRecord>
public IStructureRecord getMaxValue()
public void setMaxValue(IStructureRecord maxValue)
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<ISourceDataset,IStructureRecord,net.idea.modbcum.q.conditions.NumberCondition,IStructureRecord>
protected boolean isPreferredStructure()
isPreferredStructure
in class AbstractStructureQuery<ISourceDataset,IStructureRecord,net.idea.modbcum.q.conditions.NumberCondition>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.