Class NutritionFactsLabelV1Nutrient
- java.lang.Object
-
- com.mindee.parsing.standard.BaseField
-
- com.mindee.product.nutritionfactslabel.NutritionFactsLabelV1Nutrient
-
- All Implemented Interfaces:
LineItemField
,PositionData
public class NutritionFactsLabelV1Nutrient extends BaseField implements LineItemField
The amount of nutrients in the product.
-
-
Constructor Summary
Constructors Constructor Description NutritionFactsLabelV1Nutrient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
getDailyValue()
DVs are the recommended amounts of nutrients to consume or not to exceed each day.String
getName()
The name of nutrients of the product.Double
getPer100G()
The amount of nutrients per 100g of the product.Double
getPerServing()
The amount of nutrients per serving of the product.String
getUnit()
The unit of measurement for the amount of nutrients.boolean
isEmpty()
String
toString()
String
toTableLine()
Output the line in a format suitable for inclusion in an rST table.-
Methods inherited from class com.mindee.parsing.standard.BaseField
canEqual, equals, getBoundingBox, getConfidence, getPageId, getPolygon, hashCode
-
-
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
-
toTableLine
public String toTableLine()
Output the line in a format suitable for inclusion in an rST table.- Specified by:
toTableLine
in interfaceLineItemField
-
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.
-
-