org.geotools.metadata.iso.citation
Class ContactImpl

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.ContactImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.opengis.metadata.citation.Contact

public class ContactImpl
extends MetadataEntity
implements org.opengis.metadata.citation.Contact

Information required to enable contact with the responsible person and/or organization.

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

Field Summary
static org.opengis.metadata.citation.Contact EPSG
          Contact informations for the European Petroleum Survey Group.
static org.opengis.metadata.citation.Contact ESRI
          Contact informations for ESRI.
static org.opengis.metadata.citation.Contact GEOTIFF
          Contact informations for the GeoTIFF group.
static org.opengis.metadata.citation.Contact GEOTOOLS
          Contact informations for the Geotools project.
static org.opengis.metadata.citation.Contact OGC
          Contact informations for the Open Geospatial consortium.
static org.opengis.metadata.citation.Contact OPEN_GIS
          Contact informations for the OpenGIS consortium.
static org.opengis.metadata.citation.Contact ORACLE
          Contact informations for Oracle.
static org.opengis.metadata.citation.Contact POSTGIS
          Contact informations for PostGIS.
static org.opengis.metadata.citation.Contact SUN_MICROSYSTEMS
          Contact informations for Sun Microsystems.
 
Fields inherited from class org.geotools.metadata.AbstractMetadata
LOGGER
 
Constructor Summary
ContactImpl()
          Constructs an initially empty contact.
ContactImpl(org.opengis.metadata.citation.Contact source)
          Constructs a metadata entity initialized with the values from the specified metadata.
ContactImpl(org.opengis.metadata.citation.OnLineResource resource)
          Constructs a contact initialized to the specified online resource.
 
Method Summary
 org.opengis.metadata.citation.Address getAddress()
          Returns the physical and email address at which the organization or individual may be contacted.
 org.opengis.util.InternationalString getContactInstructions()
          Returns supplemental instructions on how or when to contact the individual or organization.
 org.opengis.util.InternationalString getHoursOfService()
          Returns time period (including time zone) when individuals can contact the organization or individual.
 org.opengis.metadata.citation.OnLineResource getOnLineResource()
          Return on-line information that can be used to contact the individual or organization.
 org.opengis.metadata.citation.Telephone getPhone()
          Returns telephone numbers at which the organization or individual may be contacted.
 void setAddress(org.opengis.metadata.citation.Address newValue)
          Set the physical and email address at which the organization or individual may be contacted.
 void setContactInstructions(org.opengis.util.InternationalString newValue)
          Set supplemental instructions on how or when to contact the individual or organization.
 void setHoursOfService(org.opengis.util.InternationalString newValue)
          Set time period (including time zone) when individuals can contact the organization or individual.
 void setOnLineResource(org.opengis.metadata.citation.OnLineResource newValue)
          Set on-line information that can be used to contact the individual or organization.
 void setPhone(org.opengis.metadata.citation.Telephone newValue)
          Set telephone numbers at which the organization or individual may be contacted.
 
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
 

Field Detail

OGC

public static final org.opengis.metadata.citation.Contact OGC
Contact informations for the Open Geospatial consortium. "Open Geospatial consortium" is the new name for "OpenGIS consortium".

See Also:
OnLineResourceImpl.OGC

OPEN_GIS

public static final org.opengis.metadata.citation.Contact OPEN_GIS
Contact informations for the OpenGIS consortium. "OpenGIS consortium" is the old name for "Open Geospatial consortium".

See Also:
OnLineResourceImpl.OPEN_GIS

EPSG

public static final org.opengis.metadata.citation.Contact EPSG
Contact informations for the European Petroleum Survey Group.

See Also:
OnLineResourceImpl.EPSG

GEOTIFF

public static final org.opengis.metadata.citation.Contact GEOTIFF
Contact informations for the GeoTIFF group.

See Also:
OnLineResourceImpl.GEOTIFF

ESRI

public static final org.opengis.metadata.citation.Contact ESRI
Contact informations for ESRI.

See Also:
OnLineResourceImpl.ESRI

ORACLE

public static final org.opengis.metadata.citation.Contact ORACLE
Contact informations for Oracle.

See Also:
OnLineResourceImpl.ORACLE

POSTGIS

public static final org.opengis.metadata.citation.Contact POSTGIS
Contact informations for PostGIS.

Since:
2.4
See Also:
OnLineResourceImpl.POSTGIS

SUN_MICROSYSTEMS

public static final org.opengis.metadata.citation.Contact SUN_MICROSYSTEMS
Contact informations for Sun Microsystems.

Since:
2.2
See Also:
OnLineResourceImpl.SUN_MICROSYSTEMS

GEOTOOLS

public static final org.opengis.metadata.citation.Contact GEOTOOLS
Contact informations for the Geotools project.

See Also:
OnLineResourceImpl.GEOTOOLS
Constructor Detail

ContactImpl

public ContactImpl()
Constructs an initially empty contact.


ContactImpl

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

Since:
2.4

ContactImpl

public ContactImpl(org.opengis.metadata.citation.OnLineResource resource)
Constructs a contact initialized to the specified online resource.

Method Detail

getAddress

public org.opengis.metadata.citation.Address getAddress()
Returns the physical and email address at which the organization or individual may be contacted. Returns null if none.

Specified by:
getAddress in interface org.opengis.metadata.citation.Contact

setAddress

public void setAddress(org.opengis.metadata.citation.Address newValue)
Set the physical and email address at which the organization or individual may be contacted.


getContactInstructions

public org.opengis.util.InternationalString getContactInstructions()
Returns supplemental instructions on how or when to contact the individual or organization. Returns null if none.

Specified by:
getContactInstructions in interface org.opengis.metadata.citation.Contact

setContactInstructions

public void setContactInstructions(org.opengis.util.InternationalString newValue)
Set supplemental instructions on how or when to contact the individual or organization.


getOnLineResource

public org.opengis.metadata.citation.OnLineResource getOnLineResource()
Return on-line information that can be used to contact the individual or organization. Returns null if none.

Specified by:
getOnLineResource in interface org.opengis.metadata.citation.Contact

setOnLineResource

public void setOnLineResource(org.opengis.metadata.citation.OnLineResource newValue)
Set on-line information that can be used to contact the individual or organization.


getPhone

public org.opengis.metadata.citation.Telephone getPhone()
Returns telephone numbers at which the organization or individual may be contacted. Returns null if none.

Specified by:
getPhone in interface org.opengis.metadata.citation.Contact

setPhone

public void setPhone(org.opengis.metadata.citation.Telephone newValue)
Set telephone numbers at which the organization or individual may be contacted.


getHoursOfService

public org.opengis.util.InternationalString getHoursOfService()
Returns time period (including time zone) when individuals can contact the organization or individual. Returns null if none.

Specified by:
getHoursOfService in interface org.opengis.metadata.citation.Contact

setHoursOfService

public void setHoursOfService(org.opengis.util.InternationalString newValue)
Set time period (including time zone) when individuals can contact the organization or individual.



Copyright © 1996-2010 Geotools. All Rights Reserved.