public class NutritionInformationImpl extends StructuredValueImpl implements NutritionInformation
NutritionInformation.NutritionInformation.Builder| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.collect.ImmutableListMultimap<java.lang.String,ValueType> |
properties |
| Constructor and Description |
|---|
NutritionInformationImpl(com.google.common.collect.Multimap<java.lang.String,ValueType> properties,
com.google.common.collect.Multimap<java.lang.String,Thing> reverseMap) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
containsProperty(java.lang.String name) |
com.google.common.collect.ImmutableList<SchemaOrgType> |
getCaloriesList()
Returns the value list of property calories.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getCarbohydrateContentList()
Returns the value list of property carbohydrateContent.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getCholesterolContentList()
Returns the value list of property cholesterolContent.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getFatContentList()
Returns the value list of property fatContent.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getFiberContentList()
Returns the value list of property fiberContent.
|
java.lang.String |
getFullTypeName()
Returns the full name of this schema.org type.
|
protected com.google.common.collect.ImmutableList<ValueType> |
getPropertyList(java.lang.String property) |
com.google.common.collect.ImmutableList<SchemaOrgType> |
getProteinContentList()
Returns the value list of property proteinContent.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getSaturatedFatContentList()
Returns the value list of property saturatedFatContent.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getServingSizeList()
Returns the value list of property servingSize.
|
protected ValueType |
getSingleValueProperty(java.lang.String name) |
com.google.common.collect.ImmutableList<SchemaOrgType> |
getSodiumContentList()
Returns the value list of property sodiumContent.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getSugarContentList()
Returns the value list of property sugarContent.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getTransFatContentList()
Returns the value list of property transFatContent.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getUnsaturatedFatContentList()
Returns the value list of property unsaturatedFatContent.
|
boolean |
includesProperty(java.lang.String property)
Whether the property can be set in this type.
|
getAdditionalTypeList, getAlternateNameList, getDescriptionList, getDetailedDescriptionList, getImageList, getMainEntityOfPageList, getNameList, getPopularityScoreList, getPotentialActionList, getSameAsList, getUrlListcontainsJsonLdId, contentEquals, getJsonLdContextList, getJsonLdId, getJsonLdReverseMap, getPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAdditionalTypeList, getAlternateNameList, getDescriptionList, getDetailedDescriptionList, getImageList, getMainEntityOfPageList, getNameList, getPopularityScoreList, getPotentialActionList, getSameAsList, getUrlListcontainsJsonLdId, getJsonLdContextList, getJsonLdId, getJsonLdReverseMapgetPropertycontentEqualsprotected final com.google.common.collect.ImmutableListMultimap<java.lang.String,ValueType> properties
public java.lang.String getFullTypeName()
SchemaOrgTypegetFullTypeName in interface SchemaOrgTypegetFullTypeName in class StructuredValueImplpublic boolean includesProperty(java.lang.String property)
SchemaOrgTypeincludesProperty in interface SchemaOrgTypeincludesProperty in class StructuredValueImplproperty - The name of property which can be short property name or full property name.public com.google.common.collect.ImmutableList<SchemaOrgType> getCaloriesList()
NutritionInformationgetCaloriesList in interface NutritionInformationpublic com.google.common.collect.ImmutableList<SchemaOrgType> getCarbohydrateContentList()
NutritionInformationgetCarbohydrateContentList in interface NutritionInformationpublic com.google.common.collect.ImmutableList<SchemaOrgType> getCholesterolContentList()
NutritionInformationgetCholesterolContentList in interface NutritionInformationpublic com.google.common.collect.ImmutableList<SchemaOrgType> getFatContentList()
NutritionInformationgetFatContentList in interface NutritionInformationpublic com.google.common.collect.ImmutableList<SchemaOrgType> getFiberContentList()
NutritionInformationgetFiberContentList in interface NutritionInformationpublic com.google.common.collect.ImmutableList<SchemaOrgType> getProteinContentList()
NutritionInformationgetProteinContentList in interface NutritionInformationpublic com.google.common.collect.ImmutableList<SchemaOrgType> getSaturatedFatContentList()
NutritionInformationgetSaturatedFatContentList in interface NutritionInformationpublic com.google.common.collect.ImmutableList<SchemaOrgType> getServingSizeList()
NutritionInformationgetServingSizeList in interface NutritionInformationpublic com.google.common.collect.ImmutableList<SchemaOrgType> getSodiumContentList()
NutritionInformationgetSodiumContentList in interface NutritionInformationpublic com.google.common.collect.ImmutableList<SchemaOrgType> getSugarContentList()
NutritionInformationgetSugarContentList in interface NutritionInformationpublic com.google.common.collect.ImmutableList<SchemaOrgType> getTransFatContentList()
NutritionInformationgetTransFatContentList in interface NutritionInformationpublic com.google.common.collect.ImmutableList<SchemaOrgType> getUnsaturatedFatContentList()
NutritionInformationgetUnsaturatedFatContentList in interface NutritionInformationprotected boolean containsProperty(java.lang.String name)
@Nullable protected ValueType getSingleValueProperty(java.lang.String name) throws SchemaOrgException
SchemaOrgExceptionprotected com.google.common.collect.ImmutableList<ValueType> getPropertyList(java.lang.String property)