public class UnitPriceSpecificationImpl extends PriceSpecificationImpl implements UnitPriceSpecification
UnitPriceSpecification.UnitPriceSpecification.Builder| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.collect.ImmutableListMultimap<java.lang.String,ValueType> |
properties |
| Constructor and Description |
|---|
UnitPriceSpecificationImpl(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> |
getBillingIncrementList()
Returns the value list of property billingIncrement.
|
java.lang.String |
getFullTypeName()
Returns the full name of this schema.org type.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getPriceTypeList()
Returns the value list of property priceType.
|
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> |
getUnitCodeList()
Returns the value list of property unitCode.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getUnitTextList()
Returns the value list of property unitText.
|
boolean |
includesProperty(java.lang.String property)
Whether the property can be set in this type.
|
getEligibleQuantityList, getEligibleTransactionVolumeList, getMaxPriceList, getMinPriceList, getPriceCurrencyList, getPriceList, getValidFromList, getValidThroughList, getValueAddedTaxIncludedListgetAdditionalTypeList, getAlternateNameList, getDescriptionList, getDetailedDescriptionList, getImageList, getMainEntityOfPageList, getNameList, getPopularityScoreList, getPotentialActionList, getSameAsList, getUrlListcontainsJsonLdId, contentEquals, getJsonLdContextList, getJsonLdId, getJsonLdReverseMap, getPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEligibleQuantityList, getEligibleTransactionVolumeList, getMaxPriceList, getMinPriceList, getPriceCurrencyList, getPriceList, getValidFromList, getValidThroughList, getValueAddedTaxIncludedListgetAdditionalTypeList, 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 PriceSpecificationImplpublic boolean includesProperty(java.lang.String property)
SchemaOrgTypeincludesProperty in interface SchemaOrgTypeincludesProperty in class PriceSpecificationImplproperty - The name of property which can be short property name or full property name.public com.google.common.collect.ImmutableList<SchemaOrgType> getBillingIncrementList()
UnitPriceSpecificationgetBillingIncrementList in interface UnitPriceSpecificationpublic com.google.common.collect.ImmutableList<SchemaOrgType> getPriceTypeList()
UnitPriceSpecificationgetPriceTypeList in interface UnitPriceSpecificationpublic com.google.common.collect.ImmutableList<SchemaOrgType> getUnitCodeList()
UnitPriceSpecificationgetUnitCodeList in interface UnitPriceSpecificationpublic com.google.common.collect.ImmutableList<SchemaOrgType> getUnitTextList()
UnitPriceSpecificationgetUnitTextList in interface UnitPriceSpecificationprotected 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)