public class ProductImpl extends ThingImpl implements Product
Product.Product.Builder| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.collect.ImmutableListMultimap<java.lang.String,ValueType> |
properties |
| Constructor and Description |
|---|
ProductImpl(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> |
getAdditionalPropertyList()
Returns the value list of property additionalProperty.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getAggregateRatingList()
Returns the value list of property aggregateRating.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getAudienceList()
Returns the value list of property audience.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getAwardList()
Returns the value list of property award.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getAwardsList()
Returns the value list of property awards.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getBrandList()
Returns the value list of property brand.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getCategoryList()
Returns the value list of property category.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getColorList()
Returns the value list of property color.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getDepthList()
Returns the value list of property depth.
|
java.lang.String |
getFullTypeName()
Returns the full name of this schema.org type.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getGtin12List()
Returns the value list of property gtin12.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getGtin13List()
Returns the value list of property gtin13.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getGtin14List()
Returns the value list of property gtin14.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getGtin8List()
Returns the value list of property gtin8.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getHeightList()
Returns the value list of property height.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getIsAccessoryOrSparePartForList()
Returns the value list of property isAccessoryOrSparePartFor.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getIsConsumableForList()
Returns the value list of property isConsumableFor.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getIsRelatedToList()
Returns the value list of property isRelatedTo.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getIsSimilarToList()
Returns the value list of property isSimilarTo.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getItemConditionList()
Returns the value list of property itemCondition.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getLogoList()
Returns the value list of property logo.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getManufacturerList()
Returns the value list of property manufacturer.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getModelList()
Returns the value list of property model.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getMpnList()
Returns the value list of property mpn.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getOffersList()
Returns the value list of property offers.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getProductIDList()
Returns the value list of property productID.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getProductionDateList()
Returns the value list of property productionDate.
|
protected com.google.common.collect.ImmutableList<ValueType> |
getPropertyList(java.lang.String property) |
com.google.common.collect.ImmutableList<SchemaOrgType> |
getPurchaseDateList()
Returns the value list of property purchaseDate.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getReleaseDateList()
Returns the value list of property releaseDate.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getReviewList()
Returns the value list of property review.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getReviewsList()
Returns the value list of property reviews.
|
protected ValueType |
getSingleValueProperty(java.lang.String name) |
com.google.common.collect.ImmutableList<SchemaOrgType> |
getSkuList()
Returns the value list of property sku.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getWeightList()
Returns the value list of property weight.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getWidthList()
Returns the value list of property width.
|
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 ThingImplpublic boolean includesProperty(java.lang.String property)
SchemaOrgTypeincludesProperty in interface SchemaOrgTypeincludesProperty in class ThingImplproperty - The name of property which can be short property name or full property name.public com.google.common.collect.ImmutableList<SchemaOrgType> getAdditionalPropertyList()
ProductgetAdditionalPropertyList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getAggregateRatingList()
ProductgetAggregateRatingList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getAudienceList()
ProductgetAudienceList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getAwardList()
ProductgetAwardList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getAwardsList()
ProductgetAwardsList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getBrandList()
ProductgetBrandList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getCategoryList()
ProductgetCategoryList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getColorList()
ProductgetColorList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getDepthList()
ProductgetDepthList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getGtin12List()
ProductgetGtin12List in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getGtin13List()
ProductgetGtin13List in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getGtin14List()
ProductgetGtin14List in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getGtin8List()
ProductgetGtin8List in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getHeightList()
ProductgetHeightList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getIsAccessoryOrSparePartForList()
ProductgetIsAccessoryOrSparePartForList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getIsConsumableForList()
ProductgetIsConsumableForList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getIsRelatedToList()
ProductgetIsRelatedToList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getIsSimilarToList()
ProductgetIsSimilarToList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getItemConditionList()
ProductgetItemConditionList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getLogoList()
ProductgetLogoList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getManufacturerList()
ProductgetManufacturerList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getModelList()
ProductgetModelList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getMpnList()
ProductgetMpnList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getOffersList()
ProductgetOffersList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getProductIDList()
ProductgetProductIDList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getProductionDateList()
ProductgetProductionDateList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getPurchaseDateList()
ProductgetPurchaseDateList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getReleaseDateList()
ProductgetReleaseDateList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getReviewList()
ProductgetReviewList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getReviewsList()
ProductgetReviewsList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getSkuList()
ProductgetSkuList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getWeightList()
ProductgetWeightList in interface Productpublic com.google.common.collect.ImmutableList<SchemaOrgType> getWidthList()
ProductgetWidthList in interface Productprotected 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)