@TestClass(value="org.openscience.cdk.pharmacophore.PharmacophoreQueryAtomTest") public class PharmacophoreQueryAtom extends Atom implements IQueryAtom
PharmacophoreQueryBond
and an
QueryAtomContainer
.PharmacophoreQueryBond
,
QueryAtomContainer
,
PharmacophoreMatcher
,
Serialized FormIAtomType.Hybridization
exactMass, naturalAbundance
Constructor and Description |
---|
PharmacophoreQueryAtom(String symbol,
String smarts)
Creat a new query pharmacophore group
|
Modifier and Type | Method and Description |
---|---|
String |
getSmarts()
Get the SMARTS pattern for this pharmacophore group.
|
boolean |
matches(IAtom atom)
Checks whether this query atom matches a target atom.
|
void |
setOperator(String ID) |
String |
toString()
String representation of this pharmacophore group.
|
clone, compare, getCharge, getFractionalPoint3d, getImplicitHydrogenCount, getPoint2d, getPoint3d, getStereoParity, setCharge, setFractionalPoint3d, setImplicitHydrogenCount, setPoint2d, setPoint3d, setStereoParity
getAtomTypeName, getBondOrderSum, getCovalentRadius, getFormalCharge, getFormalNeighbourCount, getHybridization, getMaxBondOrder, getValency, setAtomTypeName, setBondOrderSum, setCovalentRadius, setFormalCharge, setFormalNeighbourCount, setHybridization, setMaxBondOrder, setValency
getExactMass, getMassNumber, getNaturalAbundance, setExactMass, setMassNumber, setNaturalAbundance
getAtomicNumber, getSymbol, setAtomicNumber, setSymbol
addListener, getBuilder, getFlag, getFlags, getID, getListenerCount, getNotification, getProperties, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, shallowCopy
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCharge, getFractionalPoint3d, getImplicitHydrogenCount, getPoint2d, getPoint3d, getStereoParity, setCharge, setFractionalPoint3d, setImplicitHydrogenCount, setPoint2d, setPoint3d, setStereoParity
getAtomTypeName, getBondOrderSum, getCovalentRadius, getFormalCharge, getFormalNeighbourCount, getHybridization, getMaxBondOrder, getValency, setAtomTypeName, setBondOrderSum, setCovalentRadius, setFormalCharge, setFormalNeighbourCount, setHybridization, setMaxBondOrder, setValency
getExactMass, getMassNumber, getNaturalAbundance, setExactMass, setMassNumber, setNaturalAbundance
getAtomicNumber, getSymbol, setAtomicNumber, setSymbol
addListener, clone, getFlag, getFlags, getID, getListenerCount, getNotification, getProperties, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty
getBuilder
@TestMethod(value="testGetSmarts") public String getSmarts()
@TestMethod(value="testMatches") public boolean matches(IAtom atom)
matches
in interface IQueryAtom
atom
- A target pharmacophore group@TestMethod(value="testSetOperator") public void setOperator(String ID)
@TestMethod(value="testToString") public String toString()
toString
in interface IChemObject
toString
in class Atom