org.geotools.metadata.iso.citation
Class AddressImpl

java.lang.Object
  extended by org.geotools.metadata.AbstractMetadata
      extended by org.geotools.metadata.ModifiableMetadata
          extended by org.geotools.metadata.iso.MetadataEntity
              extended by org.geotools.metadata.iso.citation.AddressImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.opengis.metadata.citation.Address

public class AddressImpl
extends MetadataEntity
implements org.opengis.metadata.citation.Address

Location of the responsible individual or organization.

Since:
2.1
Version:
$Id: AddressImpl.java 31557 2008-09-19 20:02:35Z desruisseaux $
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.AbstractMetadata
LOGGER
 
Constructor Summary
AddressImpl()
          Constructs an initially empty address.
AddressImpl(org.opengis.metadata.citation.Address source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
 org.opengis.util.InternationalString getAdministrativeArea()
          Return the state, province of the location.
 org.opengis.util.InternationalString getCity()
          Returns the city of the location Returns null if unspecified.
 org.opengis.util.InternationalString getCountry()
          Returns the country of the physical address.
 java.util.Collection<java.lang.String> getDeliveryPoints()
          Returns the address line for the location (as described in ISO 11180, Annex A).
 java.util.Collection<java.lang.String> getElectronicMailAddresses()
          Returns the address of the electronic mailbox of the responsible organization or individual.
 java.lang.String getPostalCode()
          Returns ZIP or other postal code.
 void setAdministrativeArea(org.opengis.util.InternationalString newValue)
          Set the state, province of the location.
 void setCity(org.opengis.util.InternationalString newValue)
          Set the city of the location
 void setCountry(org.opengis.util.InternationalString newValue)
          set the country of the physical address.
 void setDeliveryPoints(java.util.Collection<? extends java.lang.String> newValues)
          Set the address line for the location (as described in ISO 11180, Annex A).
 void setElectronicMailAddresses(java.util.Collection<? extends java.lang.String> newValues)
          Set the address of the electronic mailbox of the responsible organization or individual.
 void setPostalCode(java.lang.String newValue)
          Set ZIP or other postal code.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
ensureNonNull, getStandard
 
Methods inherited from class org.geotools.metadata.ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
 
Methods inherited from class org.geotools.metadata.AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AddressImpl

public AddressImpl()
Constructs an initially empty address.


AddressImpl

public AddressImpl(org.opengis.metadata.citation.Address source)
Constructs a metadata entity initialized with the values from the specified metadata.

Since:
2.4
Method Detail

getAdministrativeArea

public org.opengis.util.InternationalString getAdministrativeArea()
Return the state, province of the location. Returns null if unspecified.

Specified by:
getAdministrativeArea in interface org.opengis.metadata.citation.Address

setAdministrativeArea

public void setAdministrativeArea(org.opengis.util.InternationalString newValue)
Set the state, province of the location.


getCity

public org.opengis.util.InternationalString getCity()
Returns the city of the location Returns null if unspecified.

Specified by:
getCity in interface org.opengis.metadata.citation.Address

setCity

public void setCity(org.opengis.util.InternationalString newValue)
Set the city of the location


getCountry

public org.opengis.util.InternationalString getCountry()
Returns the country of the physical address. Returns null if unspecified.

Specified by:
getCountry in interface org.opengis.metadata.citation.Address

setCountry

public void setCountry(org.opengis.util.InternationalString newValue)
set the country of the physical address.


getDeliveryPoints

public java.util.Collection<java.lang.String> getDeliveryPoints()
Returns the address line for the location (as described in ISO 11180, Annex A).

Specified by:
getDeliveryPoints in interface org.opengis.metadata.citation.Address

setDeliveryPoints

public void setDeliveryPoints(java.util.Collection<? extends java.lang.String> newValues)
Set the address line for the location (as described in ISO 11180, Annex A).


getElectronicMailAddresses

public java.util.Collection<java.lang.String> getElectronicMailAddresses()
Returns the address of the electronic mailbox of the responsible organization or individual.

Specified by:
getElectronicMailAddresses in interface org.opengis.metadata.citation.Address

setElectronicMailAddresses

public void setElectronicMailAddresses(java.util.Collection<? extends java.lang.String> newValues)
Set the address of the electronic mailbox of the responsible organization or individual.


getPostalCode

public java.lang.String getPostalCode()
Returns ZIP or other postal code. Returns null if unspecified.

Specified by:
getPostalCode in interface org.opengis.metadata.citation.Address

setPostalCode

public void setPostalCode(java.lang.String newValue)
Set ZIP or other postal code.



Copyright © 1996-2010 Geotools. All Rights Reserved.