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, shallowCopy
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addListener, addProperties, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty
getBuilder
protected Integer electronCount
public ElectronContainer()
public Integer getElectronCount()
getElectronCount
in interface IElectronContainer
setElectronCount(java.lang.Integer)
public void setElectronCount(Integer electronCount)
setElectronCount
in interface IElectronContainer
electronCount
- The number of electrons in this electron container.getElectronCount()
public Object clone() throws CloneNotSupportedException
ChemObject
IChemObject
. 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 IChemObject
clone
in class ChemObject
CloneNotSupportedException
- if the IChemObject cannot be clonedpublic String toString()
IChemObject
toString
in interface IChemObject
toString
in class Object
Copyright © 2021. All rights reserved.