org.geotools.metadata.iso.citation
Class OnLineResourceImpl

java.lang.Object
  extended byorg.geotools.metadata.iso.MetadataEntity
      extended byorg.geotools.metadata.iso.citation.OnLineResourceImpl
All Implemented Interfaces:
java.lang.Cloneable, org.opengis.metadata.citation.OnLineResource, java.io.Serializable

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 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux, 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 SUN_MICROSYSTEMS
          The online resources for Sun Microsystems.
static org.opengis.metadata.citation.OnLineResource WMS
          The download link for
Fields inherited from class org.geotools.metadata.iso.MetadataEntity
LOGGER
 
Constructor Summary
OnLineResourceImpl()
          Creates an initially empty on line resource.
OnLineResourceImpl(java.net.URI linkage)
          Creates an on line resource initialized to the given URI.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compare this on line resource with the specified object for equality.
protected  void freeze()
          Declare this metadata and all its attributes as unmodifiable.
 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 getProtocol()
          Returns the connection protocol to be used.
 int hashCode()
          Returns a hash code value for this on line resource.
 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.
 java.lang.String toString()
          Returns a string representation of this on line resource.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
appendLineSeparator, checkWritePermission, copyCollection, isModifiable, nonNullCollection, unmodifiable, unmodifiable
 
Methods inherited from class java.lang.Object
clone, 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.


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(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 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.


getDescription

public org.opengis.util.InternationalString getDescription()
Returns the detailed text description of what the online resource is/does. Returns 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 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 if none.

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

freeze

protected void freeze()
Declare this metadata and all its attributes as unmodifiable.

Overrides:
freeze in class MetadataEntity

equals

public boolean equals(java.lang.Object object)
Compare this on line resource with the specified object for equality.


hashCode

public int hashCode()
Returns a hash code value for this on line resource. For performance reason, this method do not uses all attributes for computing the hash code. Instead, it uses the attributes that are the most likely to be unique.


toString

public java.lang.String toString()
Returns a string representation of this on line resource.



Copyright © GeoTools. All Rights Reserved.