|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ca.spaz.cron.database.NutrientTable ca.spaz.cron.database.MacroNutrients
public class MacroNutrients
Field Summary | |
---|---|
double |
ash
|
double |
carbs
|
double |
fiber
|
double |
kcals
|
double |
kj
|
double |
lipid
|
double |
protein
|
double |
starch
|
double |
sugar
|
double |
water
|
Constructor Summary | |
---|---|
MacroNutrients()
|
|
MacroNutrients(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 |
---|
public double kcals
public double kj
public double water
public double protein
public double lipid
public double ash
public double carbs
public double fiber
public double sugar
public double starch
Constructor Detail |
---|
public MacroNutrients()
public MacroNutrients(Food f)
Method Detail |
---|
public void addFood(Serving food)
protected java.lang.String doGetTableName()
NutrientTable
doGetTableName
in class NutrientTable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |