Class AromaticOrSingleQueryBond
- java.lang.Object
-
- org.openscience.cdk.isomorphism.matchers.QueryChemObject
-
- org.openscience.cdk.isomorphism.matchers.QueryBond
-
- org.openscience.cdk.isomorphism.matchers.smarts.SMARTSBond
-
- org.openscience.cdk.isomorphism.matchers.smarts.AromaticOrSingleQueryBond
-
- All Implemented Interfaces:
Cloneable
,IBond
,ICDKObject
,IChemObject
,IElectronContainer
,IQueryBond
@Deprecated public class AromaticOrSingleQueryBond extends SMARTSBond
Deprecated.This matches an aromatic or a single bond, used when no bond is specified between an atom.- Source code:
- main
- Belongs to CDK module:
- smarts
- Keywords:
- SMARTS
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openscience.cdk.interfaces.IBond
IBond.Display, IBond.Order, IBond.Stereo
-
-
Field Summary
-
Fields inherited from class org.openscience.cdk.isomorphism.matchers.QueryBond
atomCount, atoms, electronCount, order, stereo
-
Fields inherited from interface org.openscience.cdk.interfaces.IChemObject
ALIPHATIC, AROMATIC, CONJUGATED, HYDROGEN_BOND_ACCEPTOR, HYDROGEN_BOND_DONOR, IN_RING, MAPPED, NOT_IN_RING, PLACED, REACTIVE_CENTER, SINGLE_OR_DOUBLE, TYPEABLE, VISITED
-
-
Constructor Summary
Constructors Constructor Description AromaticOrSingleQueryBond(IChemObjectBuilder builder)
Deprecated.Creates a new instance.AromaticOrSingleQueryBond(IQueryAtom atom1, IQueryAtom atom2, IBond.Order order, IChemObjectBuilder builder)
Deprecated.Creates a new instance
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
matches(IBond bond)
Deprecated.Returns true of the givenbond
matches this IQueryBond.String
toString()
Deprecated.Returns a one line string representation of this query bond.-
Methods inherited from class org.openscience.cdk.isomorphism.matchers.QueryBond
atoms, clone, compare, contains, equals, get2DCenter, get3DCenter, getAtom, getAtomCount, getBegin, getConnectedAtom, getConnectedAtoms, getContainer, getDisplay, getElectronCount, getEnd, getExpression, getIndex, getOrder, getOther, getStereo, hashCode, isAromatic, isConnectedTo, isInRing, setAtom, setAtoms, setDisplay, setElectronCount, setExpression, setIsAromatic, setIsInRing, setOrder, setStereo
-
Methods inherited from class org.openscience.cdk.isomorphism.matchers.QueryChemObject
addListener, addProperties, clear, flags, getBuilder, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, is, matches, notifyChanged, notifyChanged, removeListener, removeProperty, set, setFlag, setFlags, setID, setNotification, setProperties, setProperty
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.openscience.cdk.interfaces.IBond
atoms, clone, compare, contains, get2DCenter, get3DCenter, getAtom, getAtomCount, getBegin, getConnectedAtom, getConnectedAtom, getConnectedAtoms, getContainer, getDisplay, getEnd, getIndex, getOrder, getOther, getStereo, isAromatic, isConnectedTo, isInRing, setAtom, setAtoms, setDisplay, setIsAromatic, setIsInRing, setOrder, setStereo
-
Methods inherited from interface org.openscience.cdk.interfaces.ICDKObject
getBuilder
-
Methods inherited from interface org.openscience.cdk.interfaces.IChemObject
addListener, addProperties, clear, flags, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, is, notifyChanged, notifyChanged, removeListener, removeProperty, set, setFlag, setFlags, setID, setNotification, setProperties, setProperty
-
Methods inherited from interface org.openscience.cdk.interfaces.IElectronContainer
getElectronCount, setElectronCount
-
-
-
-
Constructor Detail
-
AromaticOrSingleQueryBond
public AromaticOrSingleQueryBond(IChemObjectBuilder builder)
Deprecated.Creates a new instance.
-
AromaticOrSingleQueryBond
public AromaticOrSingleQueryBond(IQueryAtom atom1, IQueryAtom atom2, IBond.Order order, IChemObjectBuilder builder)
Deprecated.Creates a new instance
-
-
Method Detail
-
matches
public boolean matches(IBond bond)
Deprecated.Description copied from class:QueryBond
Returns true of the givenbond
matches this IQueryBond.- Specified by:
matches
in interfaceIQueryBond
- Overrides:
matches
in classSMARTSBond
- Parameters:
bond
- IBond to match against- Returns:
- true, if this IQueryBond matches the given IBond
-
-