com.fitbit.api.common.model.foods
Class FoodsSummary

java.lang.Object
  extended by com.fitbit.api.common.model.foods.NutritionalValues
      extended by com.fitbit.api.common.model.foods.FoodsSummary

public class FoodsSummary
extends NutritionalValues

User: gkutlu Date: Mar 2, 2010 Time: 7:26:43 PM


Constructor Summary
FoodsSummary(int calories, double fat, double fiber, double carbs, double sodium, double protein, double water)
           
FoodsSummary(org.json.JSONObject json)
           
 
Method Summary
 double getWater()
           
 
Methods inherited from class com.fitbit.api.common.model.foods.NutritionalValues
getCalories, getCarbs, getFat, getFiber, getProtein, getSodium
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FoodsSummary

public FoodsSummary(int calories,
                    double fat,
                    double fiber,
                    double carbs,
                    double sodium,
                    double protein,
                    double water)

FoodsSummary

public FoodsSummary(org.json.JSONObject json)
             throws org.json.JSONException
Throws:
org.json.JSONException
Method Detail

getWater

public double getWater()


Copyright © 2012. All Rights Reserved.