ca.spaz.cron.database
Class Vitamins

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

public class Vitamins
extends NutrientTable

The standard list of vitamins for a food item.

Author:
davidson

Field Summary
 double alpha_carotene
           
 double beta_carotene
           
 double beta_cryptoxanthin
           
 double beta_tocopherol
           
 double delta_tocopherol
           
 double folate
           
 double gamma_tocopherol
           
 double lutein
           
 double lycopene
           
 double niacin
           
 double panto_acid
           
 double retinol
           
 double riboflavin
           
 double thiamin
           
 double vit_a
           
 double vit_b12
           
 double vit_b6
           
 double vit_c
           
 double vit_d
           
 double vit_e
           
 double vit_k
           
 
Constructor Summary
Vitamins()
           
Vitamins(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

vit_a

public double vit_a

retinol

public double retinol

alpha_carotene

public double alpha_carotene

beta_carotene

public double beta_carotene

beta_cryptoxanthin

public double beta_cryptoxanthin

lycopene

public double lycopene

lutein

public double lutein

vit_b6

public double vit_b6

vit_b12

public double vit_b12

vit_c

public double vit_c

vit_d

public double vit_d

vit_e

public double vit_e

beta_tocopherol

public double beta_tocopherol

delta_tocopherol

public double delta_tocopherol

gamma_tocopherol

public double gamma_tocopherol

vit_k

public double vit_k

thiamin

public double thiamin

riboflavin

public double riboflavin

niacin

public double niacin

panto_acid

public double panto_acid

folate

public double folate
Constructor Detail

Vitamins

public Vitamins()

Vitamins

public Vitamins(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.