public class QueryOntology extends AbstractQuery<Boolean,Dictionary,net.idea.modbcum.q.conditions.StringCondition,Property> implements net.idea.modbcum.i.IQueryRetrieval<Property>
Modifier and Type | Field and Description |
---|---|
protected boolean |
includeParent |
protected String |
sqlChild |
protected String |
sqlParent |
condition, fieldname, id, logger, maxRecords, name, page, selected, value
Constructor and Description |
---|
QueryOntology() |
QueryOntology(Dictionary dictionary) |
Modifier and Type | Method and Description |
---|---|
double |
calculateMetric(Property object) |
Property |
getObject(ResultSet rs) |
List<net.idea.modbcum.i.query.QueryParam> |
getParameters() |
String |
getSQL() |
boolean |
isIncludeParent() |
boolean |
isPrescreen() |
void |
setIncludeParent(boolean includeParent) |
String |
toString() |
getCategory, getCondition, getFieldname, getId, getKey, getName, getPage, getPageSize, getValue, isSelected, setCondition, setFieldname, setId, setName, setPage, setPageSize, setSelected, setValue, stringify, supportsPaging, test
protected String sqlParent
protected String sqlChild
protected boolean includeParent
public QueryOntology(Dictionary dictionary)
public QueryOntology()
public boolean isIncludeParent()
public void setIncludeParent(boolean includeParent)
public double calculateMetric(Property object)
calculateMetric
in interface net.idea.modbcum.i.IQueryRetrieval<Property>
public boolean isPrescreen()
isPrescreen
in interface net.idea.modbcum.i.IQueryRetrieval<Property>
public List<net.idea.modbcum.i.query.QueryParam> getParameters() throws net.idea.modbcum.i.exceptions.AmbitException
getParameters
in interface net.idea.modbcum.i.IQueryObject<Property>
net.idea.modbcum.i.exceptions.AmbitException
public String getSQL() throws net.idea.modbcum.i.exceptions.AmbitException
getSQL
in interface net.idea.modbcum.i.IQueryObject<Property>
net.idea.modbcum.i.exceptions.AmbitException
public Property getObject(ResultSet rs) throws net.idea.modbcum.i.exceptions.AmbitException
getObject
in interface net.idea.modbcum.i.IRetrieval<Property>
net.idea.modbcum.i.exceptions.AmbitException
public String toString()
toString
in class AbstractQuery<Boolean,Dictionary,net.idea.modbcum.q.conditions.StringCondition,Property>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.