Class NutritionFactsLabelV1Nutrient

    • Constructor Detail

      • NutritionFactsLabelV1Nutrient

        public NutritionFactsLabelV1Nutrient()
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in class BaseField
        Returns:
        true if the field is empty, false otherwise.
      • toTableLine

        public String toTableLine()
        Output the line in a format suitable for inclusion in an rST table.
        Specified by:
        toTableLine in interface LineItemField
      • getDailyValue

        public Double getDailyValue()
        DVs are the recommended amounts of nutrients to consume or not to exceed each day.
      • getName

        public String getName()
        The name of nutrients of the product.
      • getPer100G

        public Double getPer100G()
        The amount of nutrients per 100g of the product.
      • getPerServing

        public Double getPerServing()
        The amount of nutrients per serving of the product.
      • getUnit

        public String getUnit()
        The unit of measurement for the amount of nutrients.