Class CTFileQueryBond
- java.lang.Object
-
- org.openscience.cdk.isomorphism.matchers.QueryChemObject
-
- org.openscience.cdk.isomorphism.matchers.QueryBond
-
- org.openscience.cdk.isomorphism.matchers.CTFileQueryBond
-
- All Implemented Interfaces:
Cloneable
,IBond
,ICDKObject
,IChemObject
,IElectronContainer
,IQueryBond
@Deprecated public class CTFileQueryBond extends QueryBond implements IQueryBond
Deprecated.UseExpr.Type.SINGLE_OR_AROMATIC
etc.Captures query bond types defined in the CTFile.- Source code:
- main
- Belongs to CDK module:
- isomorphism
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CTFileQueryBond.Type
Deprecated.-
Nested classes/interfaces inherited from interface org.openscience.cdk.interfaces.IBond
IBond.Display, IBond.Order, IBond.Stereo
-
-
Field Summary
Fields Modifier and Type Field Description protected CTFileQueryBond.Type
type
Deprecated.The type of this bond.
-
Constructor Summary
Constructors Constructor Description CTFileQueryBond(IChemObjectBuilder builder)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CTFileQueryBond.Type
getType()
Deprecated.Getter for typeboolean
matches(IBond bond)
Deprecated.Returns true of the givenbond
matches this IQueryBond.static CTFileQueryBond
ofType(IBond bond, int type)
Deprecated.Create a CTFileQueryBond of the specified type (from the MDL spec).void
setType(CTFileQueryBond.Type type)
Deprecated.Getter for bond type-
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, toString
-
Methods inherited from class org.openscience.cdk.isomorphism.matchers.QueryChemObject
addListener, addProperties, getBuilder, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, matches, notifyChanged, notifyChanged, removeListener, removeProperty, 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, 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, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, toString
-
Methods inherited from interface org.openscience.cdk.interfaces.IElectronContainer
getElectronCount, setElectronCount
-
-
-
-
Field Detail
-
type
protected CTFileQueryBond.Type type
Deprecated.The type of this bond.
-
-
Constructor Detail
-
CTFileQueryBond
public CTFileQueryBond(IChemObjectBuilder builder)
Deprecated.
-
-
Method Detail
-
setType
public void setType(CTFileQueryBond.Type type)
Deprecated.Getter for bond type- Parameters:
type
-
-
getType
public CTFileQueryBond.Type getType()
Deprecated.Getter for type- Returns:
- the type of this bond
-
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 classQueryBond
- Parameters:
bond
- IBond to match against- Returns:
- true, if this IQueryBond matches the given IBond
-
ofType
public static CTFileQueryBond ofType(IBond bond, int type)
Deprecated.Create a CTFileQueryBond of the specified type (from the MDL spec). The bond copies the atoms and sets the type using the value 'type', 5 = single or double, 8 = any, etc.- Parameters:
bond
- an existing bondtype
- the specified type- Returns:
- a new CTFileQueryBond
-
-