public abstract class QueryFieldAbstract<T,C extends net.idea.modbcum.i.IQueryCondition,NC extends net.idea.modbcum.i.IQueryCondition> extends AbstractStructureQuery<Property,T,C>
AbstractStructureQuery.FIELD_NAMES
Modifier and Type | Field and Description |
---|---|
protected boolean |
caseSensitive |
protected NC |
nameCondition |
protected static String |
queryField |
protected static String |
queryValueCaseInsensitive |
protected static String |
queryValueCaseSensitive |
protected boolean |
retrieveProperties |
protected AbstractPropertyRetrieval.SearchMode |
searchMode |
static String |
sqlField |
static String |
sqlField_ci |
static String |
sqlFieldProperties
This is faster than the one below, but will work if the summary table
exists and for case insensitive searches only
|
chemicalsOnly, group, nanomaterial, order_descendant, where_group
condition, fieldname, id, logger, maxRecords, name, page, selected, value
Constructor and Description |
---|
QueryFieldAbstract() |
Modifier and Type | Method and Description |
---|---|
NC |
getNameCondition() |
IStructureRecord |
getObject(ResultSet rs) |
boolean |
isCaseSensitive() |
boolean |
isRetrieveProperties() |
boolean |
isSearchByAlias() |
void |
setCaseSensitive(boolean caseSensitive) |
void |
setNameCondition(NC nameCondition) |
void |
setRetrieveProperties(boolean retrieveProperties) |
void |
setSearchByAlias(boolean value) |
calculateMetric, isChemicalsOnly, isNanomaterial, isOrder_descendant, isPreferredStructure, isPrescreen, retrieveMetric, 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, toString
protected boolean retrieveProperties
protected boolean caseSensitive
protected static String queryField
protected static String queryValueCaseSensitive
protected static String queryValueCaseInsensitive
public static final String sqlField
public static final String sqlField_ci
public static final String sqlFieldProperties
protected NC extends net.idea.modbcum.i.IQueryCondition nameCondition
protected AbstractPropertyRetrieval.SearchMode searchMode
public boolean isCaseSensitive()
public void setCaseSensitive(boolean caseSensitive)
public boolean isRetrieveProperties()
public void setRetrieveProperties(boolean retrieveProperties)
public NC getNameCondition()
public void setNameCondition(NC nameCondition)
public boolean isSearchByAlias()
public void setSearchByAlias(boolean value)
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<Property,T,C extends net.idea.modbcum.i.IQueryCondition>
net.idea.modbcum.i.exceptions.AmbitException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.