Interface Address
-
- All Known Implementing Classes:
AddressImpl
public interface AddressLocation of the responsible individual or organization.- Since:
- GeoAPI 1.0
- Author:
- Martin Desruisseaux (IRD)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InternationalStringgetAdministrativeArea()State, province of the location.InternationalStringgetCity()The city of the location.InternationalStringgetCountry()Country of the physical address.Collection<String>getDeliveryPoints()Address line for the location (as described in ISO 11180, Annex A).Collection<String>getElectronicMailAddresses()Address of the electronic mailbox of the responsible organization or individual.StringgetPostalCode()ZIP or other postal code.
-
-
-
Method Detail
-
getDeliveryPoints
Collection<String> getDeliveryPoints()
Address line for the location (as described in ISO 11180, Annex A). Returns an empty collection if none.- Returns:
- Address line for the location.
-
getCity
InternationalString getCity()
The city of the location. Returnsnullif unspecified.- Returns:
- The city of the location, or
null.
-
getAdministrativeArea
InternationalString getAdministrativeArea()
State, province of the location. Returnsnullif unspecified.- Returns:
- State, province of the location, or
null.
-
getPostalCode
String getPostalCode()
ZIP or other postal code. Returnsnullif unspecified.- Returns:
- ZIP or other postal code, or
null.
-
getCountry
InternationalString getCountry()
Country of the physical address. Returnsnullif unspecified.- Returns:
- Country of the physical address, or
null.
-
getElectronicMailAddresses
Collection<String> getElectronicMailAddresses()
Address of the electronic mailbox of the responsible organization or individual. Returns an empty collection if none.- Returns:
- Address of the electronic mailbox of the responsible organization or individual.
-
-