JSci.chemistry
Class Element

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

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

A class representing chemical elements. To obtain an instance of Element, use the PeriodicTable.getElement method.

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.
 int getMassNumber()
          Returns the mass number.
 double getMeltingPoint()
          Returns the melting point (K).
 java.lang.String getName()
          Returns the name.
 double getSpecificHeat()
          Returns the specific heat.
 double getThermalConductivity()
          Returns the thermal conductivity.
 int hashCode()
           
protected  void setAtomicNumber(int z)
           
protected  void setAtomicRadius(double atomRadius)
           
protected  void setBoilingPoint(double boil)
           
protected  void setCovalentRadius(double covRadius)
           
protected  void setDensity(double rho)
           
protected  void setElectricalConductivity(double elect)
           
protected  void setElectronegativity(double en)
           
protected  void setMassNumber(int m)
           
protected  void setMeltingPoint(double melt)
           
protected  void setSpecificHeat(double heat)
           
protected  void setThermalConductivity(double therm)
           
 java.lang.String toString()
          Returns the chemical symbol.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Element

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

Parameters:
title - name of element.
label - symbol for element.
Method Detail

getName

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


getAtomicNumber

public int getAtomicNumber()
Returns the atomic number.


setAtomicNumber

protected void setAtomicNumber(int z)

getMassNumber

public int getMassNumber()
Returns the mass number.


setMassNumber

protected void setMassNumber(int m)

getElectronegativity

public double getElectronegativity()
Returns the electronegativity.


setElectronegativity

protected void setElectronegativity(double en)

getCovalentRadius

public double getCovalentRadius()
Returns the covalent radius.


setCovalentRadius

protected void setCovalentRadius(double covRadius)

getAtomicRadius

public double getAtomicRadius()
Returns the atomic radius.


setAtomicRadius

protected void setAtomicRadius(double atomRadius)

getMeltingPoint

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


setMeltingPoint

protected void setMeltingPoint(double melt)

getBoilingPoint

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


setBoilingPoint

protected void setBoilingPoint(double boil)

getDensity

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


setDensity

protected void setDensity(double rho)

getSpecificHeat

public double getSpecificHeat()
Returns the specific heat.


setSpecificHeat

protected void setSpecificHeat(double heat)

getElectricalConductivity

public double getElectricalConductivity()
Returns the electrical conductivity.


setElectricalConductivity

protected void setElectricalConductivity(double elect)

getThermalConductivity

public double getThermalConductivity()
Returns the thermal conductivity.


setThermalConductivity

protected void setThermalConductivity(double therm)

equals

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

Overrides:
equals in class java.lang.Object
Parameters:
e - an element.

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

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

Overrides:
toString in class java.lang.Object