Package org.openscience.cdk.interfaces
Interface ISingleElectron
- All Superinterfaces:
Cloneable,ICDKObject,IChemObject,IElectronContainer
- All Known Implementing Classes:
DebugSingleElectron,SingleElectron,SingleElectron
A Single Electron is an orbital which is occupied by only one electron.
A radical in CDK is represented by an AtomContainer that contains an Atom
and a SingleElectron type ElectronContainer:
AtomContainer radical = new AtomContainer();
Atom carbon = new Atom("C");
carbon.setImplicitHydrogens(3);
radical.addElectronContainer(new SingleElectron(carbon));
- Keywords:
- radical, electron, unpaired
-
Field Summary
Fields inherited from interface org.openscience.cdk.interfaces.IChemObject
ALIPHATIC, AROMATIC, CONJUGATED, HYDROGEN_BOND_ACCEPTOR, HYDROGEN_BOND_DONOR, IN_RING, MAPPED, MARKUSH, NOT_IN_RING, PLACED, REACTIVE_CENTER, SINGLE_OR_DOUBLE, TYPEABLE, VISITED -
Method Summary
Methods inherited from interface org.openscience.cdk.interfaces.ICDKObject
getBuilderMethods inherited from interface org.openscience.cdk.interfaces.IChemObject
addListener, addProperties, clear, clone, flags, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, is, notifyChanged, notifyChanged, removeListener, removeProperty, set, setFlag, setFlags, setID, setNotification, setProperties, setProperty, toStringMethods inherited from interface org.openscience.cdk.interfaces.IElectronContainer
getElectronCount, setElectronCount
-
Method Details
-
getAtom
IAtom getAtom()Returns the associated Atom.- Returns:
- the associated Atom.
- See Also:
-
setAtom
Sets the associated Atom.- Parameters:
atom- the Atom this SingleElectron will be associated with- See Also:
-
contains
Returns true if the given atom participates in this SingleElectron.- Parameters:
atom- The atom to be tested if it participates in this bond- Returns:
- true if this SingleElectron is associated with the atom
-