public class ProductModelImpl extends ProductImpl implements ProductModel
ProductModel.ProductModel.Builder| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.collect.ImmutableListMultimap<java.lang.String,ValueType> |
properties |
| Constructor and Description |
|---|
ProductModelImpl(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) |
java.lang.String |
getFullTypeName()
Returns the full name of this schema.org type.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getIsVariantOfList()
Returns the value list of property isVariantOf.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getPredecessorOfList()
Returns the value list of property predecessorOf.
|
protected com.google.common.collect.ImmutableList<ValueType> |
getPropertyList(java.lang.String property) |
protected ValueType |
getSingleValueProperty(java.lang.String name) |
com.google.common.collect.ImmutableList<SchemaOrgType> |
getSuccessorOfList()
Returns the value list of property successorOf.
|
boolean |
includesProperty(java.lang.String property)
Whether the property can be set in this type.
|
getAdditionalPropertyList, getAggregateRatingList, getAudienceList, getAwardList, getAwardsList, getBrandList, getCategoryList, getColorList, getDepthList, getGtin12List, getGtin13List, getGtin14List, getGtin8List, getHeightList, getIsAccessoryOrSparePartForList, getIsConsumableForList, getIsRelatedToList, getIsSimilarToList, getItemConditionList, getLogoList, getManufacturerList, getModelList, getMpnList, getOffersList, getProductIDList, getProductionDateList, getPurchaseDateList, getReleaseDateList, getReviewList, getReviewsList, getSkuList, getWeightList, getWidthListgetAdditionalTypeList, getAlternateNameList, getDescriptionList, getDetailedDescriptionList, getImageList, getMainEntityOfPageList, getNameList, getPopularityScoreList, getPotentialActionList, getSameAsList, getUrlListcontainsJsonLdId, contentEquals, getJsonLdContextList, getJsonLdId, getJsonLdReverseMap, getPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAdditionalPropertyList, getAggregateRatingList, getAudienceList, getAwardList, getAwardsList, getBrandList, getCategoryList, getColorList, getDepthList, getGtin12List, getGtin13List, getGtin14List, getGtin8List, getHeightList, getIsAccessoryOrSparePartForList, getIsConsumableForList, getIsRelatedToList, getIsSimilarToList, getItemConditionList, getLogoList, getManufacturerList, getModelList, getMpnList, getOffersList, getProductIDList, getProductionDateList, getPurchaseDateList, getReleaseDateList, getReviewList, getReviewsList, getSkuList, getWeightList, getWidthListgetAdditionalTypeList, 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 ProductImplpublic boolean includesProperty(java.lang.String property)
SchemaOrgTypeincludesProperty in interface SchemaOrgTypeincludesProperty in class ProductImplproperty - The name of property which can be short property name or full property name.public com.google.common.collect.ImmutableList<SchemaOrgType> getIsVariantOfList()
ProductModelgetIsVariantOfList in interface ProductModelpublic com.google.common.collect.ImmutableList<SchemaOrgType> getPredecessorOfList()
ProductModelgetPredecessorOfList in interface ProductModelpublic com.google.common.collect.ImmutableList<SchemaOrgType> getSuccessorOfList()
ProductModelgetSuccessorOfList in interface ProductModelprotected 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)