public class AtomType extends Isotope implements IAtomType, Serializable, Cloneable
IAtomType.Hybridization| Modifier and Type | Field and Description |
|---|---|
protected Integer |
electronValency
The electron Valency of this atom with CDKConstants.UNSET as default.
|
protected Integer |
formalCharge
The formal charge of the atom with CDKConstants.UNSET as default.
|
protected Integer |
formalNeighbourCount
The formal number of neighbours this atom type can have with CDKConstants_UNSET
as default.
|
protected IAtomType.Hybridization |
hybridization
The hybridization state of this atom with CDKConstants.HYBRIDIZATION_UNSET
as default.
|
exactMass, naturalAbundanceatomicNumber, symbol| Constructor and Description |
|---|
AtomType(IElement element)
Constructs an isotope by copying the symbol, atomic number,
flags, identifier, exact mass, natural abundance and mass
number from the given IIsotope.
|
AtomType(String elementSymbol)
Constructor for the AtomType object.
|
AtomType(String identifier,
String elementSymbol)
Constructor for the AtomType object.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Clones this
IChemObject. |
boolean |
compare(Object object)
Compares a atom type with this atom type.
|
String |
getAtomTypeName()
Gets the id attribute of the AtomType object.
|
Double |
getBondOrderSum()
Gets the bondOrderSum attribute of the AtomType object.
|
Double |
getCovalentRadius()
Returns the covalent radius for this AtomType.
|
Integer |
getFormalCharge()
Returns the formal charge of this atom.
|
Integer |
getFormalNeighbourCount()
Returns the formal neighbour count of this atom.
|
IAtomType.Hybridization |
getHybridization()
Returns the hybridization of this atom.
|
IBond.Order |
getMaxBondOrder()
Gets the MaxBondOrder attribute of the AtomType object.
|
Integer |
getValency()
Gets the the exact electron valency of the AtomType object.
|
void |
setAtomTypeName(String identifier)
Sets the if attribute of the AtomType object.
|
void |
setBondOrderSum(Double bondOrderSum)
Sets the the exact bond order sum attribute of the AtomType object.
|
void |
setCovalentRadius(Double radius)
Sets the covalent radius for this AtomType.
|
void |
setFormalCharge(Integer charge)
Sets the formal charge of this atom.
|
void |
setFormalNeighbourCount(Integer count)
Sets the formal neighbour count of this atom.
|
void |
setHybridization(IAtomType.Hybridization hybridization)
Sets the hybridization of this atom.
|
void |
setMaxBondOrder(IBond.Order maxBondOrder)
Sets the MaxBondOrder attribute of the AtomType object.
|
void |
setValency(Integer valency)
Sets the the exact electron valency of the AtomType object.
|
String |
toString()
A string representation of this isotope.
|
getExactMass, getMassNumber, getNaturalAbundance, setExactMass, setMassNumber, setNaturalAbundancegetAtomicNumber, getSymbol, setAtomicNumber, setSymboladdListener, addProperties, 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, waitgetExactMass, getMassNumber, getNaturalAbundance, setExactMass, setMassNumber, setNaturalAbundancegetAtomicNumber, getSymbol, setAtomicNumber, setSymboladdListener, addProperties, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setPropertygetBuilderprotected Integer formalCharge
AtomType(String) and
AtomType(String, String) ) will explicitly set this field to 0protected IAtomType.Hybridization hybridization
protected Integer electronValency
protected Integer formalNeighbourCount
public AtomType(String elementSymbol)
CDKConstants.UNSET.elementSymbol - Symbol of the atompublic AtomType(String identifier, String elementSymbol)
identifier - An id for this atom type, like C3 for sp3 carbonelementSymbol - The element symbol identifying the element to which this atom type appliespublic AtomType(IElement element)
element - IIsotope to copy information frompublic void setAtomTypeName(String identifier)
setAtomTypeName in interface IAtomTypeidentifier - The new AtomTypeID value. Null if unset.getAtomTypeName()public void setMaxBondOrder(IBond.Order maxBondOrder)
setMaxBondOrder in interface IAtomTypemaxBondOrder - The new MaxBondOrder valuegetMaxBondOrder()public void setBondOrderSum(Double bondOrderSum)
setBondOrderSum in interface IAtomTypebondOrderSum - The new bondOrderSum valuegetBondOrderSum()public String getAtomTypeName()
getAtomTypeName in interface IAtomTypesetAtomTypeName(java.lang.String)public IBond.Order getMaxBondOrder()
getMaxBondOrder in interface IAtomTypesetMaxBondOrder(org.openscience.cdk.interfaces.IBond.Order)public Double getBondOrderSum()
getBondOrderSum in interface IAtomTypesetBondOrderSum(java.lang.Double)public void setFormalCharge(Integer charge)
setFormalCharge in interface IAtomTypecharge - The formal chargegetFormalCharge()public Integer getFormalCharge()
getFormalCharge in interface IAtomTypesetFormalCharge(java.lang.Integer)public void setFormalNeighbourCount(Integer count)
setFormalNeighbourCount in interface IAtomTypecount - The neighbour countgetFormalNeighbourCount()public Integer getFormalNeighbourCount()
getFormalNeighbourCount in interface IAtomTypesetFormalNeighbourCount(java.lang.Integer)public void setHybridization(IAtomType.Hybridization hybridization)
setHybridization in interface IAtomTypehybridization - The hybridizationgetHybridization()public IAtomType.Hybridization getHybridization()
getHybridization in interface IAtomTypesetHybridization(org.openscience.cdk.interfaces.IAtomType.Hybridization)public boolean compare(Object object)
public void setCovalentRadius(Double radius)
setCovalentRadius in interface IAtomTyperadius - The covalent radius for this AtomTypegetCovalentRadius()public Double getCovalentRadius()
getCovalentRadius in interface IAtomTypesetCovalentRadius(java.lang.Double)public void setValency(Integer valency)
setValency in interface IAtomTypevalency - The new valency valuegetValency()public Integer getValency()
getValency in interface IAtomTypesetValency(java.lang.Integer)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 IsotopeCloneNotSupportedExceptionCopyright © 2017. All rights reserved.