public class QuerySimilarityStructure extends QuerySimilarity<ClassHolder,org.openscience.cdk.interfaces.IAtomContainerSet,net.idea.modbcum.q.conditions.NumberCondition>
AbstractStructureQuery.FIELD_NAMES
Modifier and Type | Field and Description |
---|---|
protected FingerprintGenerator |
g |
static ClassHolder[] |
methods |
protected MoleculeReader |
molReader |
protected AbstractStructureQuery |
query |
protected org.openscience.cdk.isomorphism.UniversalIsomorphismTester |
uit |
forceOrdering, threshold
chemicalsOnly, group, nanomaterial, order_descendant, where_group
condition, fieldname, id, logger, maxRecords, name, page, selected, value
Constructor and Description |
---|
QuerySimilarityStructure() |
Modifier and Type | Method and Description |
---|---|
double |
calculateMetric(IStructureRecord object) |
net.idea.modbcum.q.conditions.NumberCondition |
getCondition() |
Integer |
getId() |
String |
getName() |
List<net.idea.modbcum.i.query.QueryParam> |
getParameters() |
String |
getSQL() |
double |
getThreshold() |
boolean |
isForceOrdering() |
boolean |
isPrescreen() |
void |
setCondition(net.idea.modbcum.q.conditions.NumberCondition condition) |
void |
setFieldname(ClassHolder method) |
void |
setForceOrdering(boolean forceOrdering) |
void |
setId(Integer id) |
void |
setName(String name) |
void |
setStructure(org.openscience.cdk.interfaces.IAtomContainer structure) |
void |
setThreshold(double threshold) |
void |
setValue(org.openscience.cdk.interfaces.IAtomContainerSet set) |
String |
toString() |
retrieveMetric
getObject, isChemicalsOnly, isNanomaterial, isOrder_descendant, isPreferredStructure, retrieveStrucType, retrieveValue, setChemicalsOnly, setNanomaterial, setOrder_descendant
getCategory, getFieldname, getKey, getPage, getPageSize, getValue, isSelected, setPage, setPageSize, setSelected, stringify, supportsPaging, test
protected AbstractStructureQuery query
protected FingerprintGenerator g
protected MoleculeReader molReader
protected org.openscience.cdk.isomorphism.UniversalIsomorphismTester uit
public static ClassHolder[] methods
public void setFieldname(ClassHolder method)
setFieldname
in interface net.idea.modbcum.i.IParameterizedQuery<ClassHolder,org.openscience.cdk.interfaces.IAtomContainerSet,net.idea.modbcum.q.conditions.NumberCondition>
setFieldname
in class AbstractQuery<ClassHolder,org.openscience.cdk.interfaces.IAtomContainerSet,net.idea.modbcum.q.conditions.NumberCondition,IStructureRecord>
public void setForceOrdering(boolean forceOrdering)
setForceOrdering
in class QuerySimilarity<ClassHolder,org.openscience.cdk.interfaces.IAtomContainerSet,net.idea.modbcum.q.conditions.NumberCondition>
public boolean isForceOrdering()
isForceOrdering
in class QuerySimilarity<ClassHolder,org.openscience.cdk.interfaces.IAtomContainerSet,net.idea.modbcum.q.conditions.NumberCondition>
public List<net.idea.modbcum.i.query.QueryParam> getParameters() throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
public void setThreshold(double threshold)
setThreshold
in class QuerySimilarity<ClassHolder,org.openscience.cdk.interfaces.IAtomContainerSet,net.idea.modbcum.q.conditions.NumberCondition>
public double getThreshold()
getThreshold
in class QuerySimilarity<ClassHolder,org.openscience.cdk.interfaces.IAtomContainerSet,net.idea.modbcum.q.conditions.NumberCondition>
public void setCondition(net.idea.modbcum.q.conditions.NumberCondition condition)
setCondition
in interface net.idea.modbcum.i.IParameterizedQuery<ClassHolder,org.openscience.cdk.interfaces.IAtomContainerSet,net.idea.modbcum.q.conditions.NumberCondition>
setCondition
in class AbstractQuery<ClassHolder,org.openscience.cdk.interfaces.IAtomContainerSet,net.idea.modbcum.q.conditions.NumberCondition,IStructureRecord>
public net.idea.modbcum.q.conditions.NumberCondition getCondition()
getCondition
in interface net.idea.modbcum.i.IParameterizedQuery<ClassHolder,org.openscience.cdk.interfaces.IAtomContainerSet,net.idea.modbcum.q.conditions.NumberCondition>
getCondition
in class AbstractQuery<ClassHolder,org.openscience.cdk.interfaces.IAtomContainerSet,net.idea.modbcum.q.conditions.NumberCondition,IStructureRecord>
public String getSQL() throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
public void setStructure(org.openscience.cdk.interfaces.IAtomContainer structure)
public void setValue(org.openscience.cdk.interfaces.IAtomContainerSet set)
setValue
in interface net.idea.modbcum.i.IParameterizedQuery<ClassHolder,org.openscience.cdk.interfaces.IAtomContainerSet,net.idea.modbcum.q.conditions.NumberCondition>
setValue
in class AbstractQuery<ClassHolder,org.openscience.cdk.interfaces.IAtomContainerSet,net.idea.modbcum.q.conditions.NumberCondition,IStructureRecord>
public void setId(Integer id)
setId
in interface net.idea.modbcum.i.IQueryObject<IStructureRecord>
setId
in class AbstractQuery<ClassHolder,org.openscience.cdk.interfaces.IAtomContainerSet,net.idea.modbcum.q.conditions.NumberCondition,IStructureRecord>
public Integer getId()
getId
in interface net.idea.modbcum.i.IQueryObject<IStructureRecord>
getId
in class AbstractQuery<ClassHolder,org.openscience.cdk.interfaces.IAtomContainerSet,net.idea.modbcum.q.conditions.NumberCondition,IStructureRecord>
public String getName()
getName
in class AbstractQuery<ClassHolder,org.openscience.cdk.interfaces.IAtomContainerSet,net.idea.modbcum.q.conditions.NumberCondition,IStructureRecord>
public void setName(String name)
setName
in class AbstractQuery<ClassHolder,org.openscience.cdk.interfaces.IAtomContainerSet,net.idea.modbcum.q.conditions.NumberCondition,IStructureRecord>
public String toString()
toString
in class QuerySimilarity<ClassHolder,org.openscience.cdk.interfaces.IAtomContainerSet,net.idea.modbcum.q.conditions.NumberCondition>
public boolean isPrescreen()
isPrescreen
in interface net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>
isPrescreen
in class AbstractStructureQuery<ClassHolder,org.openscience.cdk.interfaces.IAtomContainerSet,net.idea.modbcum.q.conditions.NumberCondition>
public double calculateMetric(IStructureRecord object)
calculateMetric
in interface net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>
calculateMetric
in class AbstractStructureQuery<ClassHolder,org.openscience.cdk.interfaces.IAtomContainerSet,net.idea.modbcum.q.conditions.NumberCondition>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.