public class SymbolSetQueryAtom extends PseudoAtom implements IQueryAtom
InverseSymbolSetQueryAtom
,
Serialized FormIAtomType.Hybridization
exactMass, naturalAbundance
Constructor and Description |
---|
SymbolSetQueryAtom()
Constructor for the SymbolSetQueryAtom object
|
Modifier and Type | Method and Description |
---|---|
void |
addSymbol(String symbol)
Add a symbol to this QueryAtom
|
HashSet |
getSymbolSet()
Retrieve the Set of symbols
|
boolean |
hasSymbol(String symbol)
Check whether a symbol is already registered
|
boolean |
matches(IAtom atom)
The matches implementation of the QueryAtom interface.
|
void |
removeSymbol(String symbol)
Remove a symbol from this QueryAtom
|
void |
setOperator(String str) |
String |
toString()
The toString method
|
clone, getLabel, setLabel, setStereoParity
compare, getCharge, getFractionalPoint3d, getImplicitHydrogenCount, getPoint2d, getPoint3d, getStereoParity, setCharge, setFractionalPoint3d, setImplicitHydrogenCount, setPoint2d, setPoint3d
getAtomTypeName, getBondOrderSum, getCovalentRadius, getFormalCharge, getFormalNeighbourCount, getHybridization, getMaxBondOrder, getValency, setAtomTypeName, setBondOrderSum, setCovalentRadius, setFormalCharge, setFormalNeighbourCount, setHybridization, setMaxBondOrder, setValency
getExactMass, getMassNumber, getNaturalAbundance, setExactMass, setMassNumber, setNaturalAbundance
getAtomicNumber, getSymbol, setAtomicNumber, setSymbol
addListener, getBuilder, getFlag, getFlags, getID, getListenerCount, getNotification, getProperties, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, shallowCopy
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCharge, getFractionalPoint3d, getImplicitHydrogenCount, getPoint2d, getPoint3d, getStereoParity, setCharge, setFractionalPoint3d, setImplicitHydrogenCount, setPoint2d, setPoint3d, setStereoParity
getAtomTypeName, getBondOrderSum, getCovalentRadius, getFormalCharge, getFormalNeighbourCount, getHybridization, getMaxBondOrder, getValency, setAtomTypeName, setBondOrderSum, setCovalentRadius, setFormalCharge, setFormalNeighbourCount, setHybridization, setMaxBondOrder, setValency
getExactMass, getMassNumber, getNaturalAbundance, setExactMass, setMassNumber, setNaturalAbundance
getAtomicNumber, getSymbol, setAtomicNumber, setSymbol
addListener, clone, getFlag, getFlags, getID, getListenerCount, getNotification, getProperties, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty
getBuilder
public SymbolSetQueryAtom()
public void setOperator(String str)
public boolean matches(IAtom atom)
matches
in interface IQueryAtom
atom
- The atom to be matched by this QueryAtompublic void addSymbol(String symbol)
symbol
- The symbol to addpublic void removeSymbol(String symbol)
symbol
- The symbol to removepublic boolean hasSymbol(String symbol)
symbol
- The symbol to check forpublic HashSet getSymbolSet()
public String toString()
toString
in interface IChemObject
toString
in class PseudoAtom