public class PostalAddressImpl extends ContactPointImpl implements PostalAddress
PostalAddress.PostalAddress.Builder| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.collect.ImmutableListMultimap<java.lang.String,ValueType> |
properties |
| Constructor and Description |
|---|
PostalAddressImpl(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> |
getAddressCountryList()
Returns the value list of property addressCountry.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getAddressLocalityList()
Returns the value list of property addressLocality.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getAddressRegionList()
Returns the value list of property addressRegion.
|
java.lang.String |
getFullTypeName()
Returns the full name of this schema.org type.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getPostalCodeList()
Returns the value list of property postalCode.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getPostOfficeBoxNumberList()
Returns the value list of property postOfficeBoxNumber.
|
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> |
getStreetAddressList()
Returns the value list of property streetAddress.
|
boolean |
includesProperty(java.lang.String property)
Whether the property can be set in this type.
|
getAreaServedList, getAvailableLanguageList, getContactOptionList, getContactTypeList, getEmailList, getFaxNumberList, getHoursAvailableList, getProductSupportedList, getServiceAreaList, getTelephoneListgetAdditionalTypeList, getAlternateNameList, getDescriptionList, getDetailedDescriptionList, getImageList, getMainEntityOfPageList, getNameList, getPopularityScoreList, getPotentialActionList, getSameAsList, getUrlListcontainsJsonLdId, contentEquals, getJsonLdContextList, getJsonLdId, getJsonLdReverseMap, getPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAreaServedList, getAvailableLanguageList, getContactOptionList, getContactTypeList, getEmailList, getFaxNumberList, getHoursAvailableList, getProductSupportedList, getServiceAreaList, getTelephoneListgetAdditionalTypeList, 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 ContactPointImplpublic boolean includesProperty(java.lang.String property)
SchemaOrgTypeincludesProperty in interface SchemaOrgTypeincludesProperty in class ContactPointImplproperty - The name of property which can be short property name or full property name.public com.google.common.collect.ImmutableList<SchemaOrgType> getAddressCountryList()
PostalAddressgetAddressCountryList in interface PostalAddresspublic com.google.common.collect.ImmutableList<SchemaOrgType> getAddressLocalityList()
PostalAddressgetAddressLocalityList in interface PostalAddresspublic com.google.common.collect.ImmutableList<SchemaOrgType> getAddressRegionList()
PostalAddressgetAddressRegionList in interface PostalAddresspublic com.google.common.collect.ImmutableList<SchemaOrgType> getPostalCodeList()
PostalAddressgetPostalCodeList in interface PostalAddresspublic com.google.common.collect.ImmutableList<SchemaOrgType> getPostOfficeBoxNumberList()
PostalAddressgetPostOfficeBoxNumberList in interface PostalAddresspublic com.google.common.collect.ImmutableList<SchemaOrgType> getStreetAddressList()
PostalAddressgetStreetAddressList in interface PostalAddressprotected 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)