Class InverseSymbolSetQueryAtom
- java.lang.Object
-
- org.openscience.cdk.isomorphism.matchers.QueryChemObject
-
- org.openscience.cdk.isomorphism.matchers.QueryAtom
-
- org.openscience.cdk.isomorphism.matchers.InverseSymbolSetQueryAtom
-
- All Implemented Interfaces:
Cloneable
,IAtom
,IAtomType
,ICDKObject
,IChemObject
,IElement
,IIsotope
,IQueryAtom
@Deprecated public class InverseSymbolSetQueryAtom extends QueryAtom implements IQueryAtom
Deprecated.A QueryAtom that matches all symbols but those in this container. You may add symbols to this container. This QueryAtom will only give a match if it does NOT contain the symbol of the Atom to match (example: add "C" to get a match for all non-"C"-Atoms).- Author:
- kha
- See Also:
SymbolSetQueryAtom
- Source code:
- main
- Belongs to CDK module:
- isomorphism
- Created on:
- 2004-09-16
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openscience.cdk.interfaces.IAtomType
IAtomType.Hybridization
-
-
Field Summary
-
Fields inherited from class org.openscience.cdk.isomorphism.matchers.QueryAtom
atomicNumber, charge, electronValency, exactMass, formalCharge, formalNeighbourCount, fractionalPoint3d, hybridization, hydrogenCount, naturalAbundance, point2d, point3d, stereoParity, symbol
-
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
-
Fields inherited from interface org.openscience.cdk.interfaces.IElement
Ac, Ag, Al, Am, Ar, As, At, Au, B, Ba, Be, Bh, Bi, Bk, Br, C, Ca, Cd, Ce, Cf, Cl, Cm, Cn, Co, Cr, Cs, Cu, Db, Ds, Dy, Er, Es, Eu, F, Fe, Fl, Fm, Fr, Ga, Gd, Ge, H, He, Hf, Hg, Ho, Hs, I, In, Ir, K, Kr, La, Li, Lr, Lu, Lv, Mc, Md, Mg, Mn, Mo, Mt, N, Na, Nb, Nd, Ne, Nh, Ni, No, Np, O, Og, Os, P, Pa, Pb, Pd, Pm, Po, Pr, Pt, Pu, Ra, Rb, Re, Rf, Rg, Rh, Rn, Ru, S, Sb, Sc, Se, Sg, Si, Sm, Sn, Sr, Ta, Tb, Tc, Te, Th, Ti, Tl, Tm, Ts, U, V, W, Wildcard, Xe, Y, Yb, Zn, Zr
-
-
Constructor Summary
Constructors Constructor Description InverseSymbolSetQueryAtom(IChemObjectBuilder builder)
Deprecated.Constructor for the InverseSymbolSetQueryAtom object
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addSymbol(String symbol)
Deprecated.Add a symbol to this QueryAtomSet<String>
getSymbolSet()
Deprecated.Retrieve the Set of symbolsboolean
hasSymbol(String symbol)
Deprecated.Check whether a symbol is already registeredboolean
matches(IAtom atom)
Deprecated.The matches implementation of the QueryAtom interface.void
removeSymbol(String symbol)
Deprecated.Remove a symbol from this QueryAtomvoid
setOperator(String str)
Deprecated.String
toString()
Deprecated.The toString method-
Methods inherited from class org.openscience.cdk.isomorphism.matchers.QueryAtom
bonds, clone, equals, getAtomicNumber, getAtomTypeName, getBond, getBondCount, getBondOrderSum, getCharge, getContainer, getCovalentRadius, getExactMass, getExpression, getFormalCharge, getFormalNeighbourCount, getFractionalPoint3d, getHybridization, getImplicitHydrogenCount, getIndex, getMapIdx, getMassNumber, getMaxBondOrder, getNaturalAbundance, getPoint2d, getPoint3d, getStereoParity, getSymbol, getValency, hashCode, isAromatic, isInRing, setAtomicNumber, setAtomTypeName, setBondOrderSum, setCharge, setCovalentRadius, setExactMass, setExpression, setFormalCharge, setFormalNeighbourCount, setFractionalPoint3d, setHybridization, setImplicitHydrogenCount, setIsAromatic, setIsInRing, setMapIdx, setMassNumber, setMaxBondOrder, setNaturalAbundance, setPoint2d, setPoint3d, setStereoParity, setSymbol, setValency
-
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, 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.IAtom
bonds, clone, getBond, getBondCount, getCharge, getContainer, getFractionalPoint3d, getImplicitHydrogenCount, getIndex, getMapIdx, getPoint2d, getPoint3d, getStereoParity, getTotalHydrogenCount, isAromatic, isInRing, neighbors, setCharge, setFractionalPoint3d, setImplicitHydrogenCount, setIsAromatic, setIsInRing, setMapIdx, setPoint2d, setPoint3d, setStereoParity
-
Methods inherited from interface org.openscience.cdk.interfaces.IAtomType
getAtomTypeName, getBondOrderSum, getCovalentRadius, getFormalCharge, getFormalNeighbourCount, getHybridization, getMaxBondOrder, getValency, setAtomTypeName, setBondOrderSum, setCovalentRadius, setFormalCharge, setFormalNeighbourCount, setHybridization, setMaxBondOrder, setValency
-
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.IElement
getAtomicNumber, getSymbol, setAtomicNumber, setSymbol
-
Methods inherited from interface org.openscience.cdk.interfaces.IIsotope
getExactMass, getMassNumber, getNaturalAbundance, setExactMass, setMassNumber, setNaturalAbundance
-
-
-
-
Constructor Detail
-
InverseSymbolSetQueryAtom
public InverseSymbolSetQueryAtom(IChemObjectBuilder builder)
Deprecated.Constructor for the InverseSymbolSetQueryAtom object
-
-
Method Detail
-
setOperator
public void setOperator(String str)
Deprecated.
-
matches
public boolean matches(IAtom atom)
Deprecated.The matches implementation of the QueryAtom interface.- Specified by:
matches
in interfaceIQueryAtom
- Overrides:
matches
in classQueryAtom
- Parameters:
atom
- The atom to be matched by this QueryAtom- Returns:
- true if Atom matched
-
addSymbol
public void addSymbol(String symbol)
Deprecated.Add a symbol to this QueryAtom- Parameters:
symbol
- The symbol to add
-
removeSymbol
public void removeSymbol(String symbol)
Deprecated.Remove a symbol from this QueryAtom- Parameters:
symbol
- The symbol to remove
-
hasSymbol
public boolean hasSymbol(String symbol)
Deprecated.Check whether a symbol is already registered- Parameters:
symbol
- The symbol to check for- Returns:
- true if symbol already registered
-
getSymbolSet
public Set<String> getSymbolSet()
Deprecated.Retrieve the Set of symbols- Returns:
- The symbol Set
-
toString
public String toString()
Deprecated.The toString method- Specified by:
toString
in interfaceIChemObject
- Overrides:
toString
in classObject
- Returns:
- The String representation of this object.
-
-