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

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

public class Meal
extends Object

User: gkutlu Date: May 25, 2010 Time: 10:39:33 PM


Constructor Summary
Meal(org.json.JSONObject json)
           
Meal(long id, String name, String description, List<LoggedFood> mealFoods)
           
 
Method Summary
static List<Meal> constructMeals(org.json.JSONArray array)
           
 String getDescription()
           
 long getId()
           
 List<LoggedFood> getMealFoods()
           
 String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Meal

public Meal(long id,
            String name,
            String description,
            List<LoggedFood> mealFoods)

Meal

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

constructMeals

public static List<Meal> constructMeals(org.json.JSONArray array)
                                 throws FitbitAPIException,
                                        org.json.JSONException
Throws:
FitbitAPIException
org.json.JSONException

getId

public final long getId()

getName

public final String getName()

getDescription

public final String getDescription()

getMealFoods

public final List<LoggedFood> getMealFoods()


Copyright © 2012. All Rights Reserved.