org.jscience.chemistry
Class Element

java.lang.Object
  extended by org.jscience.chemistry.Element
All Implemented Interfaces:
java.io.Serializable, Named
Direct Known Subclasses:
AlkaliEarthMetal, AlkaliMetal, Halogen, Metal, NobleGas, NonMetal, RareEarthMetal, TransitionMetal

public class Element
extends java.lang.Object
implements java.io.Serializable, Named

A class representing chemical elements.

See Also:
Serialized Form

Constructor Summary
Element(java.lang.String title, java.lang.String label)
          Constructs an element.
 
Method Summary
 boolean equals(java.lang.Object e)
          Compares two elements for equality.
 int getAtomicNumber()
          Returns the atomic number.
 double getAtomicRadius()
          Returns the atomic radius.
 double getBoilingPoint()
          Returns the boiling point (K).
 double getCovalentRadius()
          Returns the covalent radius.
 double getDensity()
          Returns the density (293K).
 double getElectricalConductivity()
          Returns the electrical conductivity.
 double getElectronegativity()
          Returns the electronegativity (Pauling).
 double getElectronicAffinity()
          Returns the energy needed to gain an electron.
 double getEnthropy()
          Returns the enthropy.
 double getFormationEnergy()
          Returns the formation energy (Gibbs energy).
 double getFormationEnthalpy()
          Returns the formation enthalpy.
 double[] getIonizationEnergies()
          Returns the energy needed to remove the first, second...
 java.util.Map getIsotopes()
          Returns the map of mass number/abundance.
 int getMassNumber()
          Returns the mass number.
 double getMeltingPoint()
          Returns the melting point (K).
 java.lang.String getName()
          Returns the name.
 int[] getQuantumLayers()
          Returns the number of electrons in each of the quantum layers in ascending order (s, p, d, f, g, h, i...) for this element.
 double getSpecificHeat()
          Returns the specific heat.
 double getThermalConductivity()
          Returns the thermal conductivity.
protected  void setAtomicNumber(int z)
          DOCUMENT ME!
protected  void setAtomicRadius(double atomRadius)
          DOCUMENT ME!
protected  void setBoilingPoint(double boil)
          DOCUMENT ME!
protected  void setCovalentRadius(double covRadius)
          DOCUMENT ME!
protected  void setDensity(double rho)
          DOCUMENT ME!
protected  void setElectricalConductivity(double elect)
          DOCUMENT ME!
protected  void setElectronegativity(double en)
          DOCUMENT ME!
protected  void setElectronicAffinity(double affinity)
          DOCUMENT ME!
protected  void setEnthropy(double enthropy)
          DOCUMENT ME!
protected  void setFormationEnergy(double energy)
          DOCUMENT ME!
protected  void setFormationEnthalpy(double enthaply)
          DOCUMENT ME!
protected  void setIonizationEnergies(double[] energies)
          DOCUMENT ME!
protected  void setIsotopes(java.util.Map isotopes)
          DOCUMENT ME!
protected  void setMassNumber(int m)
          DOCUMENT ME!
protected  void setMeltingPoint(double melt)
          DOCUMENT ME!
protected  void setQuantumLayers(int[] layers)
          DOCUMENT ME!
protected  void setSpecificHeat(double heat)
          DOCUMENT ME!
protected  void setThermalConductivity(double therm)
          DOCUMENT ME!
 java.lang.String toString()
          Returns the chemical symbol.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Element

public Element(java.lang.String title,
               java.lang.String label)
Constructs an element.

Parameters:
title - DOCUMENT ME!
label - DOCUMENT ME!
Method Detail

getName

public java.lang.String getName()
Returns the name.

Specified by:
getName in interface Named
Returns:
DOCUMENT ME!

getAtomicNumber

public int getAtomicNumber()
Returns the atomic number.

Returns:
DOCUMENT ME!

setAtomicNumber

protected void setAtomicNumber(int z)
DOCUMENT ME!

Parameters:
z - DOCUMENT ME!

getMassNumber

public int getMassNumber()
Returns the mass number.

Returns:
DOCUMENT ME!

setMassNumber

protected void setMassNumber(int m)
DOCUMENT ME!

Parameters:
m - DOCUMENT ME!

getQuantumLayers

public int[] getQuantumLayers()
Returns the number of electrons in each of the quantum layers in ascending order (s, p, d, f, g, h, i...) for this element.

Returns:
DOCUMENT ME!

setQuantumLayers

protected void setQuantumLayers(int[] layers)
DOCUMENT ME!

Parameters:
layers - DOCUMENT ME!

getElectronegativity

public double getElectronegativity()
Returns the electronegativity (Pauling).

Returns:
DOCUMENT ME!

setElectronegativity

protected void setElectronegativity(double en)
DOCUMENT ME!

Parameters:
en - DOCUMENT ME!

getCovalentRadius

public double getCovalentRadius()
Returns the covalent radius.

Returns:
DOCUMENT ME!

setCovalentRadius

protected void setCovalentRadius(double covRadius)
DOCUMENT ME!

Parameters:
covRadius - DOCUMENT ME!

getAtomicRadius

public double getAtomicRadius()
Returns the atomic radius.

Returns:
DOCUMENT ME!

setAtomicRadius

protected void setAtomicRadius(double atomRadius)
DOCUMENT ME!

Parameters:
atomRadius - DOCUMENT ME!

getIonizationEnergies

public double[] getIonizationEnergies()
Returns the energy needed to remove the first, second... electron.

Returns:
DOCUMENT ME!

setIonizationEnergies

protected void setIonizationEnergies(double[] energies)
DOCUMENT ME!

Parameters:
energies - DOCUMENT ME!

getElectronicAffinity

public double getElectronicAffinity()
Returns the energy needed to gain an electron.

Returns:
DOCUMENT ME!

setElectronicAffinity

protected void setElectronicAffinity(double affinity)
DOCUMENT ME!

Parameters:
affinity - DOCUMENT ME!

getMeltingPoint

public double getMeltingPoint()
Returns the melting point (K).

Returns:
DOCUMENT ME!

setMeltingPoint

protected void setMeltingPoint(double melt)
DOCUMENT ME!

Parameters:
melt - DOCUMENT ME!

getBoilingPoint

public double getBoilingPoint()
Returns the boiling point (K).

Returns:
DOCUMENT ME!

setBoilingPoint

protected void setBoilingPoint(double boil)
DOCUMENT ME!

Parameters:
boil - DOCUMENT ME!

getDensity

public double getDensity()
Returns the density (293K).

Returns:
DOCUMENT ME!

setDensity

protected void setDensity(double rho)
DOCUMENT ME!

Parameters:
rho - DOCUMENT ME!

getFormationEnthalpy

public double getFormationEnthalpy()
Returns the formation enthalpy.

Returns:
DOCUMENT ME!

setFormationEnthalpy

protected void setFormationEnthalpy(double enthaply)
DOCUMENT ME!

Parameters:
enthaply - DOCUMENT ME!

getFormationEnergy

public double getFormationEnergy()
Returns the formation energy (Gibbs energy).

Returns:
DOCUMENT ME!

setFormationEnergy

protected void setFormationEnergy(double energy)
DOCUMENT ME!

Parameters:
energy - DOCUMENT ME!

getEnthropy

public double getEnthropy()
Returns the enthropy.

Returns:
DOCUMENT ME!

setEnthropy

protected void setEnthropy(double enthropy)
DOCUMENT ME!

Parameters:
enthropy - DOCUMENT ME!

getSpecificHeat

public double getSpecificHeat()
Returns the specific heat.

Returns:
DOCUMENT ME!

setSpecificHeat

protected void setSpecificHeat(double heat)
DOCUMENT ME!

Parameters:
heat - DOCUMENT ME!

getElectricalConductivity

public double getElectricalConductivity()
Returns the electrical conductivity.

Returns:
DOCUMENT ME!

setElectricalConductivity

protected void setElectricalConductivity(double elect)
DOCUMENT ME!

Parameters:
elect - DOCUMENT ME!

getThermalConductivity

public double getThermalConductivity()
Returns the thermal conductivity.

Returns:
DOCUMENT ME!

setThermalConductivity

protected void setThermalConductivity(double therm)
DOCUMENT ME!

Parameters:
therm - DOCUMENT ME!

getIsotopes

public java.util.Map getIsotopes()
Returns the map of mass number/abundance.

Returns:
DOCUMENT ME!

setIsotopes

protected void setIsotopes(java.util.Map isotopes)
DOCUMENT ME!

Parameters:
isotopes - DOCUMENT ME!

equals

public boolean equals(java.lang.Object e)
Compares two elements for equality.

Overrides:
equals in class java.lang.Object
Parameters:
e - an element.
Returns:
DOCUMENT ME!

toString

public java.lang.String toString()
Returns the chemical symbol.

Overrides:
toString in class java.lang.Object
Returns:
DOCUMENT ME!