public class BuyActionImpl extends TradeActionImpl implements BuyAction
BuyAction.BuyAction.Builder| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.collect.ImmutableListMultimap<java.lang.String,ValueType> |
properties |
| Constructor and Description |
|---|
BuyActionImpl(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.
|
protected com.google.common.collect.ImmutableList<ValueType> |
getPropertyList(java.lang.String property) |
com.google.common.collect.ImmutableList<SchemaOrgType> |
getSellerList()
Returns the value list of property seller.
|
protected ValueType |
getSingleValueProperty(java.lang.String name) |
com.google.common.collect.ImmutableList<SchemaOrgType> |
getVendorList()
Returns the value list of property vendor.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getWarrantyPromiseList()
Returns the value list of property warrantyPromise.
|
boolean |
includesProperty(java.lang.String property)
Whether the property can be set in this type.
|
getPriceList, getPriceSpecificationListgetActionStatusList, getAgentList, getEndTimeList, getErrorList, getInstrumentList, getLocationList, getObjectList, getParticipantList, getResultList, getStartTimeList, getTargetListgetAdditionalTypeList, getAlternateNameList, getDescriptionList, getDetailedDescriptionList, getImageList, getMainEntityOfPageList, getNameList, getPopularityScoreList, getPotentialActionList, getSameAsList, getUrlListcontainsJsonLdId, contentEquals, getJsonLdContextList, getJsonLdId, getJsonLdReverseMap, getPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPriceList, getPriceSpecificationListgetActionStatusList, getAgentList, getEndTimeList, getErrorList, getInstrumentList, getLocationList, getObjectList, getParticipantList, getResultList, getStartTimeList, getTargetListgetAdditionalTypeList, 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 TradeActionImplpublic boolean includesProperty(java.lang.String property)
SchemaOrgTypeincludesProperty in interface SchemaOrgTypeincludesProperty in class TradeActionImplproperty - The name of property which can be short property name or full property name.public com.google.common.collect.ImmutableList<SchemaOrgType> getSellerList()
BuyActiongetSellerList in interface BuyActionpublic com.google.common.collect.ImmutableList<SchemaOrgType> getVendorList()
BuyActiongetVendorList in interface BuyActionpublic com.google.common.collect.ImmutableList<SchemaOrgType> getWarrantyPromiseList()
BuyActiongetWarrantyPromiseList in interface BuyActionprotected 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)