org.geotools.metadata.iso.citation
Class ContactImpl

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by ContactImpl
All Implemented Interfaces:
Serializable, Cloneable, Contact

public class ContactImpl
extends MetadataEntity
implements Contact

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

Since:
2.1
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form
Module:
modules/library/metadata (gt-metadata.jar)

Field Summary
static Contact EPSG
          Contact informations for the European Petroleum Survey Group.
static Contact ESRI
          Contact informations for ESRI.
static Contact GEOTIFF
          Contact informations for the GeoTIFF group.
static Contact GEOTOOLS
          Contact informations for the Geotools project.
static Contact OGC
          Contact informations for the Open Geospatial consortium.
static Contact OPEN_GIS
          Contact informations for the OpenGIS consortium.
static Contact ORACLE
          Contact informations for Oracle.
static Contact POSTGIS
          Contact informations for PostGIS.
static Contact SUN_MICROSYSTEMS
          Contact informations for Sun Microsystems.
 
Fields inherited from class AbstractMetadata
LOGGER
 
Constructor Summary
ContactImpl()
          Constructs an initially empty contact.
ContactImpl(Contact source)
          Constructs a metadata entity initialized with the values from the specified metadata.
ContactImpl(OnLineResource resource)
          Constructs a contact initialized to the specified online resource.
 
Method Summary
 Address getAddress()
          Returns the physical and email address at which the organization or individual may be contacted.
 InternationalString getContactInstructions()
          Returns supplemental instructions on how or when to contact the individual or organization.
 InternationalString getHoursOfService()
          Returns time period (including time zone) when individuals can contact the organization or individual.
 OnLineResource getOnLineResource()
          Return on-line information that can be used to contact the individual or organization.
 Telephone getPhone()
          Returns telephone numbers at which the organization or individual may be contacted.
 void setAddress(Address newValue)
          Set the physical and email address at which the organization or individual may be contacted.
 void setContactInstructions(InternationalString newValue)
          Set supplemental instructions on how or when to contact the individual or organization.
 void setHoursOfService(InternationalString newValue)
          Set time period (including time zone) when individuals can contact the organization or individual.
 void setOnLineResource(OnLineResource newValue)
          Set on-line information that can be used to contact the individual or organization.
 void setPhone(Telephone newValue)
          Set telephone numbers at which the organization or individual may be contacted.
 
Methods inherited from class MetadataEntity
ensureNonNull, getStandard
 
Methods inherited from class ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
 
Methods inherited from class AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

OGC

public static final 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 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 Contact EPSG
Contact informations for the European Petroleum Survey Group.

See Also:
OnLineResourceImpl.EPSG

GEOTIFF

public static final Contact GEOTIFF
Contact informations for the GeoTIFF group.

See Also:
OnLineResourceImpl.GEOTIFF

ESRI

public static final Contact ESRI
Contact informations for ESRI.

See Also:
OnLineResourceImpl.ESRI

ORACLE

public static final Contact ORACLE
Contact informations for Oracle.

See Also:
OnLineResourceImpl.ORACLE

POSTGIS

public static final Contact POSTGIS
Contact informations for PostGIS.

Since:
2.4
See Also:
OnLineResourceImpl.POSTGIS

SUN_MICROSYSTEMS

public static final Contact SUN_MICROSYSTEMS
Contact informations for Sun Microsystems.

Since:
2.2
See Also:
OnLineResourceImpl.SUN_MICROSYSTEMS

GEOTOOLS

public static final 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(Contact source)
Constructs a metadata entity initialized with the values from the specified metadata.

Since:
2.4

ContactImpl

public ContactImpl(OnLineResource resource)
Constructs a contact initialized to the specified online resource.

Method Detail

getAddress

public 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 Contact

setAddress

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


getContactInstructions

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

Specified by:
getContactInstructions in interface Contact

setContactInstructions

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


getOnLineResource

public 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 Contact

setOnLineResource

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


getPhone

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

Specified by:
getPhone in interface Contact

setPhone

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


getHoursOfService

public 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 Contact

setHoursOfService

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



Copyright © 1996-2010 Geotools. All Rights Reserved.