org.geotools.metadata.iso.citation
Class OnLineResourceImpl

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

public class OnLineResourceImpl
extends MetadataEntity
implements org.opengis.metadata.citation.OnLineResource

Information about on-line sources from which the dataset, specification, or community profile name and extended metadata elements can be obtained.

Since:
2.1
Version:
$Id: OnLineResourceImpl.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.OnLineResource EPSG
          The online resources for the European Petroleum Survey Group.
static org.opengis.metadata.citation.OnLineResource ESRI
          The online resources for ESRI.
static org.opengis.metadata.citation.OnLineResource GEOTIFF
          The online resources for the GeoTIFF group.
static org.opengis.metadata.citation.OnLineResource GEOTOOLS
          The online resources for the Geotools project.
static org.opengis.metadata.citation.OnLineResource OGC
          The online resources for the Open Geospatial Consortium.
static org.opengis.metadata.citation.OnLineResource OPEN_GIS
          The online resources for the OpenGIS consortium.
static org.opengis.metadata.citation.OnLineResource ORACLE
          The online resources for Oracle.
static org.opengis.metadata.citation.OnLineResource POSTGIS
          The online resources for PostGIS.
static org.opengis.metadata.citation.OnLineResource SUN_MICROSYSTEMS
          The online resources for Sun Microsystems.
static org.opengis.metadata.citation.OnLineResource WMS
          The download link for Web Map Service specification.
 
Fields inherited from class org.geotools.metadata.AbstractMetadata
LOGGER
 
Constructor Summary
OnLineResourceImpl()
          Creates an initially empty on line resource.
OnLineResourceImpl(org.opengis.metadata.citation.OnLineResource source)
          Constructs a metadata entity initialized with the values from the specified metadata.
OnLineResourceImpl(java.net.URI linkage)
          Creates an on line resource initialized to the given URI.
 
Method Summary
 java.lang.String getApplicationProfile()
          Returns the name of an application profile that can be used with the online resource.
 org.opengis.util.InternationalString getDescription()
          Returns the detailed text description of what the online resource is/does.
 org.opengis.metadata.citation.OnLineFunction getFunction()
          Returns the code for function performed by the online resource.
 java.net.URI getLinkage()
          Returns the location (address) for on-line access using a Uniform Resource Locator address or similar addressing scheme such as http://www.statkart.no/isotc211.
 java.lang.String getName()
          Name of the online resource.
 java.lang.String getProtocol()
          Returns the connection protocol to be used.
 void setApplicationProfile(java.lang.String newValue)
          Set the name of an application profile that can be used with the online resource.
 void setDescription(org.opengis.util.InternationalString newValue)
          Set the detailed text description of what the online resource is/does.
 void setFunction(org.opengis.metadata.citation.OnLineFunction newValue)
          Set the code for function performed by the online resource.
 void setLinkage(java.net.URI newValue)
          Set the location (address) for on-line access using a Uniform Resource Locator address or similar addressing scheme such as http://www.statkart.no/isotc211.
 void setName(java.lang.String newValue)
          Set the name of the online resource.
 
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.OnLineResource OGC
The online resources for the Open Geospatial Consortium. "Open Geospatial consortium" is the new name for "OpenGIS consortium".

See Also:
OPEN_GIS

OPEN_GIS

public static final org.opengis.metadata.citation.OnLineResource OPEN_GIS
The online resources for the OpenGIS consortium. "OpenGIS consortium" is the old name for "Open Geospatial consortium".

See Also:
OGC

EPSG

public static final org.opengis.metadata.citation.OnLineResource EPSG
The online resources for the European Petroleum Survey Group.


GEOTIFF

public static final org.opengis.metadata.citation.OnLineResource GEOTIFF
The online resources for the GeoTIFF group.


ESRI

public static final org.opengis.metadata.citation.OnLineResource ESRI
The online resources for ESRI.


ORACLE

public static final org.opengis.metadata.citation.OnLineResource ORACLE
The online resources for Oracle.


POSTGIS

public static final org.opengis.metadata.citation.OnLineResource POSTGIS
The online resources for PostGIS.

Since:
2.4

SUN_MICROSYSTEMS

public static final org.opengis.metadata.citation.OnLineResource SUN_MICROSYSTEMS
The online resources for Sun Microsystems. This online resources point to the Java developper site.

Since:
2.2

GEOTOOLS

public static final org.opengis.metadata.citation.OnLineResource GEOTOOLS
The online resources for the Geotools project.


WMS

public static final org.opengis.metadata.citation.OnLineResource WMS
The download link for Web Map Service specification. The download link may change in future Geotools versions in order to point toward the latest specification.

Since:
2.2
Constructor Detail

OnLineResourceImpl

public OnLineResourceImpl()
Creates an initially empty on line resource.


OnLineResourceImpl

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

Since:
2.4

OnLineResourceImpl

public OnLineResourceImpl(java.net.URI linkage)
Creates an on line resource initialized to the given URI.

Method Detail

getApplicationProfile

public java.lang.String getApplicationProfile()
Returns the name of an application profile that can be used with the online resource. Returns null if none.

Specified by:
getApplicationProfile in interface org.opengis.metadata.citation.OnLineResource

setApplicationProfile

public void setApplicationProfile(java.lang.String newValue)
Set the name of an application profile that can be used with the online resource.


getName

public java.lang.String getName()
Name of the online resource. Returns null if none.

Specified by:
getName in interface org.opengis.metadata.citation.OnLineResource
Since:
2.4

setName

public void setName(java.lang.String newValue)
Set the name of the online resource.

Since:
2.4

getDescription

public org.opengis.util.InternationalString getDescription()
Returns the detailed text description of what the online resource is/does. Returns null if none.

Specified by:
getDescription in interface org.opengis.metadata.citation.OnLineResource

setDescription

public void setDescription(org.opengis.util.InternationalString newValue)
Set the detailed text description of what the online resource is/does.


getFunction

public org.opengis.metadata.citation.OnLineFunction getFunction()
Returns the code for function performed by the online resource. Returns null if unspecified.

Specified by:
getFunction in interface org.opengis.metadata.citation.OnLineResource

setFunction

public void setFunction(org.opengis.metadata.citation.OnLineFunction newValue)
Set the code for function performed by the online resource.


getLinkage

public java.net.URI getLinkage()
Returns the location (address) for on-line access using a Uniform Resource Locator address or similar addressing scheme such as http://www.statkart.no/isotc211.

Specified by:
getLinkage in interface org.opengis.metadata.citation.OnLineResource

setLinkage

public void setLinkage(java.net.URI newValue)
Set the location (address) for on-line access using a Uniform Resource Locator address or similar addressing scheme such as http://www.statkart.no/isotc211.


getProtocol

public java.lang.String getProtocol()
Returns the connection protocol to be used. Returns null if none.

Specified by:
getProtocol in interface org.opengis.metadata.citation.OnLineResource


Copyright © 1996-2010 Geotools. All Rights Reserved.