public class AddressImpl extends MetadataEntity implements Address
LOGGER
Constructor and Description |
---|
AddressImpl()
Constructs an initially empty address.
|
AddressImpl(Address source)
Constructs a metadata entity initialized with the values from the specified metadata.
|
Modifier and Type | Method and Description |
---|---|
InternationalString |
getAdministrativeArea()
Return the state, province of the location.
|
InternationalString |
getCity()
Returns the city of the location Returns
null if unspecified. |
InternationalString |
getCountry()
Returns the country of the physical address.
|
Collection<String> |
getDeliveryPoints()
Returns the address line for the location (as described in ISO 11180, Annex A).
|
Collection<String> |
getElectronicMailAddresses()
Returns the address of the electronic mailbox of the responsible organization or individual.
|
String |
getPostalCode()
Returns ZIP or other postal code.
|
void |
setAdministrativeArea(InternationalString newValue)
Set the state, province of the location.
|
void |
setCity(InternationalString newValue)
Set the city of the location
|
void |
setCountry(InternationalString newValue)
set the country of the physical address.
|
void |
setDeliveryPoints(Collection<? extends String> newValues)
Set the address line for the location (as described in ISO 11180, Annex A).
|
void |
setElectronicMailAddresses(Collection<? extends String> newValues)
Set the address of the electronic mailbox of the responsible organization or individual.
|
void |
setPostalCode(String newValue)
Set ZIP or other postal code.
|
ensureNonNull, getStandard
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
asMap, asTree, equals, getInterface, hashCode, toString
public AddressImpl()
public AddressImpl(Address source)
public InternationalString getAdministrativeArea()
null
if unspecified.getAdministrativeArea
in interface Address
null
.public void setAdministrativeArea(InternationalString newValue)
public InternationalString getCity()
null
if unspecified.public void setCity(InternationalString newValue)
public InternationalString getCountry()
null
if unspecified.getCountry
in interface Address
null
.public void setCountry(InternationalString newValue)
public Collection<String> getDeliveryPoints()
getDeliveryPoints
in interface Address
public void setDeliveryPoints(Collection<? extends String> newValues)
public Collection<String> getElectronicMailAddresses()
getElectronicMailAddresses
in interface Address
public void setElectronicMailAddresses(Collection<? extends String> newValues)
public String getPostalCode()
null
if unspecified.getPostalCode
in interface Address
null
.public void setPostalCode(String newValue)
Copyright © 1996–2019 Geotools. All rights reserved.