public class RetrieveProfileValues extends AbstractQuery<Profile<Property>,IStructureRecord,net.idea.modbcum.q.conditions.SetCondition,IStructureRecord> implements net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>, net.idea.modbcum.i.IMultiRetrieval<IStructureRecord>
Modifier and Type | Class and Description |
---|---|
static class |
RetrieveProfileValues.SearchMode |
Modifier and Type | Field and Description |
---|---|
protected boolean |
addNew |
protected boolean |
chemicalsOnly |
static String |
NaN |
protected IStructureRecord |
record |
protected RetrieveProfileValues.SearchMode |
searchMode |
protected String |
sql_alias |
protected String |
sql_chemical |
protected String |
sql_chemical_novalue |
protected String |
sql_name |
protected String |
sql_propery |
protected String |
sql_structure |
protected String |
sql_structure_novalue |
condition, fieldname, id, logger, maxRecords, name, page, selected, value
Constructor and Description |
---|
RetrieveProfileValues() |
RetrieveProfileValues(RetrieveProfileValues.SearchMode querymode,
Profile profile,
boolean chemicalsOnly) |
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 IStructureRecord record
protected boolean addNew
protected RetrieveProfileValues.SearchMode searchMode
protected boolean chemicalsOnly
protected final String sql_structure
protected final String sql_structure_novalue
protected final String sql_chemical
protected final String sql_chemical_novalue
protected final String sql_propery
protected final String sql_alias
protected final String sql_name
public RetrieveProfileValues()
public RetrieveProfileValues(RetrieveProfileValues.SearchMode querymode, Profile profile, boolean chemicalsOnly)
public IStructureRecord getRecord()
public void setRecord(IStructureRecord record)
public boolean isAddNew()
public void setAddNew(boolean addNew)
public RetrieveProfileValues.SearchMode getSearchMode()
public void setSearchMode(RetrieveProfileValues.SearchMode searchMode)
public boolean isChemicalsOnly()
public void setChemicalsOnly(boolean chemicalsOnly)
public boolean isSearchByAlias()
public void setSearchByAlias(boolean value)
public boolean isSearchByID()
public void setSearchByID(boolean value)
protected String sql()
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 getMultiObject(ResultSet rs) throws net.idea.modbcum.i.exceptions.AmbitException
getMultiObject
in interface net.idea.modbcum.i.IMultiRetrieval<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
protected IStructureRecord getObject(ResultSet rs, IStructureRecord record, int idstructure) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
protected void retrieveValue(ResultSet rs, IStructureRecord record, Property p) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
protected Property retrieveProperty(ResultSet rs) throws net.idea.modbcum.i.exceptions.AmbitException
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.