Package 

Class Nutrition

  • All Implemented Interfaces:
    java.io.Serializable

    
    public class Nutrition
    extends Record implements Serializable
                        

    Activities related to calorie intake and consumption and nutritional information (such as fat, protein, carbohydrates, sodium, etc .).

    • Constructor Summary

      Constructors 
      Constructor Description
      Nutrition() Activities related to calorie intake and consumption and nutritional information (such as fat, protein, carbohydrates, sodium, etc.).
      Nutrition(Peripheral peripheral) Base class for all objects that represent health records initialized with a BluetoothPeripheral.
    • Method Summary

      Modifier and Type Method Description
      BigDecimal getCalories() Calories consumed per food intake
      void setCalories(BigDecimal calories) Calories consumed per food intake
      BigDecimal getCarbohydrates() Grams of carbohydrates consumed
      void setCarbohydrates(BigDecimal carbohydrates) Grams of carbohydrates consumed
      BigDecimal getFat() Grams of fat consumed
      void setFat(BigDecimal fat) Grams of fat consumed
      BigDecimal getFiber() Grams of fiber consumed
      void setFiber(BigDecimal fiber) Grams of fiber consumed
      BigDecimal getProtein() Grams of protein consumed
      void setProtein(BigDecimal protein) Grams of protein consumed
      BigDecimal getSodium() Grams of sodium consumed
      void setSodium(BigDecimal sodium) Grams of sodium consumed
      BigDecimal getWater() Milliliters of water consumed
      void setWater(BigDecimal water) Milliliters of water consumed
      String getTitle() Meal consumed: Breakfast, Lunch, or Dinner
      void setTitle(String title) Meal consumed: Breakfast, Lunch, or Dinner
      • Methods inherited from class com.validic.mobile.record.Record

        createSummary, getActivityID, getComment, getExtra, getExtras, getHashedString, getIdentifier, getIntermediarySource, getLastUpdated, getMedia, getOriginalSource, getPeripheral, getQueueId, getRecordID, getRecordType, getSource, getSourceName, getSourcePeripheral, getTimestamp, getUtcOffset, getValidated, isSHealthRecord, newRecordFromPeripheral, newRecordWithType, setActivityID, setComment, setHashedActivityId, setIntermediarySource, setLastUpdated, setMedia, setOriginalSource, setPeripheral, setRecordID, setRecordType, setSource, setSourceName, setSourcePeripheral, setTimeStampToMidnight, setTimestamp, setTimestamp, setUtcOffset, setValidated
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait