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.
Captures query bond types defined in the CTFile.
- Source code:
- main
- Belongs to CDK module:
- isomorphism
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.openscience.cdk.interfaces.IBond
IBond.Display, IBond.Order, IBond.Stereo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CTFileQueryBond.Type
Deprecated.The type of this bond. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()
Deprecated.Getter for typeboolean
Deprecated.Returns true of the givenbond
matches this IQueryBond.static CTFileQueryBond
Deprecated.Create a CTFileQueryBond of the specified type (from the MDL spec).void
setType
(CTFileQueryBond.Type type) Deprecated.Getter for bond typeMethods 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 Details
-
type
Deprecated.The type of this bond.
-
-
Constructor Details
-
CTFileQueryBond
Deprecated.
-
-
Method Details
-
setType
Deprecated.Getter for bond type- Parameters:
type
-
-
getType
Deprecated.Getter for type- Returns:
- the type of this bond
-
matches
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
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
-
Expr.Type.SINGLE_OR_AROMATIC
etc.