public class ElectronContainer extends ChemObject implements Serializable, IElectronContainer, Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
electronCount
Number of electrons in the ElectronContainer.
|
| Constructor and Description |
|---|
ElectronContainer()
Constructs an empty ElectronContainer.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Clones this
IChemObject. |
Integer |
getElectronCount()
Returns the number of electrons in this electron container.
|
void |
setElectronCount(Integer electronCount)
Sets the number of electrons in this electron container.
|
String |
toString()
Returns a one line description of this IChemObject.
|
addListener, addProperties, compare, getBuilder, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, shallowCopyequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddListener, addProperties, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setPropertygetBuilderprotected Integer electronCount
public ElectronContainer()
public Integer getElectronCount()
getElectronCount in interface IElectronContainersetElectronCount(java.lang.Integer)public void setElectronCount(Integer electronCount)
setElectronCount in interface IElectronContainerelectronCount - The number of electrons in this electron container.getElectronCount()public Object clone() throws CloneNotSupportedException
ChemObjectIChemObject. It clones the identifier, flags,
properties and pointer vectors. The ChemObjectListeners are not cloned, and
neither is the content of the pointer vectors.clone in interface IChemObjectclone in class ChemObjectCloneNotSupportedException - if the IChemObject cannot be clonedpublic String toString()
IChemObjecttoString in interface IChemObjecttoString in class ObjectCopyright © 2021. All rights reserved.