ca.spaz.cron.database
Class Minerals

java.lang.Object
  extended by ca.spaz.cron.database.NutrientTable
      extended by ca.spaz.cron.database.Minerals

public class Minerals
extends NutrientTable


Field Summary
 double calcium
           
 double copper
           
 double iron
           
 double magnesium
           
 double manganese
           
 double phosphorus
           
 double potassium
           
 double selenium
           
 double sodium
           
 double zinc
           
 
Constructor Summary
Minerals()
           
Minerals(Food f)
           
 
Method Summary
 void addFood(Serving food)
           
protected  java.lang.String doGetTableName()
          Subclasses must implement this in order to supply their table name.
 
Methods inherited from class ca.spaz.cron.database.NutrientTable
addFood, getAmountByTag, getTableName, setAmountByTag, updateDatabase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

calcium

public double calcium

copper

public double copper

iron

public double iron

magnesium

public double magnesium

manganese

public double manganese

phosphorus

public double phosphorus

potassium

public double potassium

selenium

public double selenium

sodium

public double sodium

zinc

public double zinc
Constructor Detail

Minerals

public Minerals()

Minerals

public Minerals(Food f)
Method Detail

addFood

public void addFood(Serving food)

doGetTableName

protected java.lang.String doGetTableName()
Description copied from class: NutrientTable
Subclasses must implement this in order to supply their table name.

Specified by:
doGetTableName in class NutrientTable
Returns:
the table name to perform lookups on.


Copyright © 2005 Spaz. All Rights Reserved.