Class CTFileQueryBond

All Implemented Interfaces:
Cloneable, IBond, ICDKObject, IChemObject, IElectronContainer, IQueryBond

@Deprecated public class CTFileQueryBond extends QueryBond implements IQueryBond
Deprecated.
Captures query bond types defined in the CTFile.
Source code:
main
Belongs to CDK module:
isomorphism
  • Field Details

  • Constructor Details

  • Method Details

    • 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 given bond matches this IQueryBond.
      Specified by:
      matches in interface IQueryBond
      Overrides:
      matches in class QueryBond
      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 bond
      type - the specified type
      Returns:
      a new CTFileQueryBond