edu.stanford.rsl.konrad.physics.materials
Class Compound

java.lang.Object
  extended by edu.stanford.rsl.konrad.physics.materials.Material
      extended by edu.stanford.rsl.konrad.physics.materials.Compound
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Compound
extends Material

Class to model a compound

Author:
Rotimi .X.Ojo
See Also:
Serialized Form

Constructor Summary
Compound()
           
 
Method Summary
 java.lang.String getFormula()
           
 void setFormula(java.lang.String formula)
          Set the formula of a compound
 
Methods inherited from class edu.stanford.rsl.konrad.physics.materials.Material
clone, getAttenuation, getAttenuation, getCTValue, getDensity, getName, setAttenuation, setDensity, setName, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Compound

public Compound()
Method Detail

getFormula

public java.lang.String getFormula()
Returns:
the formula of a compound

setFormula

public void setFormula(java.lang.String formula)
Set the formula of a compound

Parameters:
formula - id formula of initialized compound