ca.spaz.cron.database
Class Lipids

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

public class Lipids
extends NutrientTable


Field Summary
 double cholesterol
           
 double monounsaturated
           
 double omega3
           
 double omega6
           
 double phytosterol
           
 double polyunsaturated
           
 double saturated
           
 double transfats
           
 
Constructor Summary
Lipids()
           
Lipids(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

saturated

public double saturated

monounsaturated

public double monounsaturated

polyunsaturated

public double polyunsaturated

transfats

public double transfats

cholesterol

public double cholesterol

phytosterol

public double phytosterol

omega3

public double omega3

omega6

public double omega6
Constructor Detail

Lipids

public Lipids()

Lipids

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