org.geotools.metadata.iso.citation
Class OnLineResourceImpl

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by OnLineResourceImpl
All Implemented Interfaces:
Serializable, Cloneable, OnLineResource

public class OnLineResourceImpl
extends MetadataEntity
implements 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
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form

Field Summary
static OnLineResource EPSG
          The online resources for the European Petroleum Survey Group.
static OnLineResource ESRI
          The online resources for ESRI.
static OnLineResource GEOTIFF
          The online resources for the GeoTIFF group.
static OnLineResource GEOTOOLS
          The online resources for the Geotools project.
static OnLineResource OGC
          The online resources for the Open Geospatial Consortium.
static OnLineResource OPEN_GIS
          The online resources for the OpenGIS consortium.
static OnLineResource ORACLE
          The online resources for Oracle.
static OnLineResource POSTGIS
          The online resources for PostGIS.
static OnLineResource SUN_MICROSYSTEMS
          The online resources for Sun Microsystems.
static OnLineResource WMS
          The download link for
Fields inherited from class AbstractMetadata
LOGGER
 
Constructor Summary
OnLineResourceImpl()
          Creates an initially empty on line resource.
OnLineResourceImpl(OnLineResource source)
          Constructs a metadata entity initialized with the values from the specified metadata.
OnLineResourceImpl(URI linkage)
          Creates an on line resource initialized to the given URI.
 
Method Summary
 String getApplicationProfile()
          Returns the name of an application profile that can be used with the online resource.
 InternationalString getDescription()
          Returns the detailed text description of what the online resource is/does.
 OnLineFunction getFunction()
          Returns the code for function performed by the online resource.
 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.
 String getName()
          Name of the online resource.
 String getProtocol()
          Returns the connection protocol to be used.
 void setApplicationProfile(String newValue)
          Set the name of an application profile that can be used with the online resource.
 void setDescription(InternationalString newValue)
          Set the detailed text description of what the online resource is/does.
 void setFunction(OnLineFunction newValue)
          Set the code for function performed by the online resource.
 void setLinkage(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(String newValue)
          Set the name of the online resource.
 
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 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 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 OnLineResource EPSG
The online resources for the European Petroleum Survey Group.


GEOTIFF

public static final OnLineResource GEOTIFF
The online resources for the GeoTIFF group.


ESRI

public static final OnLineResource ESRI
The online resources for ESRI.


ORACLE

public static final OnLineResource ORACLE
The online resources for Oracle.


POSTGIS

public static final OnLineResource POSTGIS
The online resources for PostGIS.

Since:
2.4

SUN_MICROSYSTEMS

public static final 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 OnLineResource GEOTOOLS
The online resources for the Geotools project.


WMS

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

Since:
2.4

OnLineResourceImpl

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

Method Detail

getApplicationProfile

public 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 OnLineResource
Returns:
Application profile that can be used with the online resource, or null.

setApplicationProfile

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


getName

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

Specified by:
getName in interface OnLineResource
Returns:
Name of the online resource, or null.
Since:
2.4

setName

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

Since:
2.4

getDescription

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

Specified by:
getDescription in interface OnLineResource
Returns:
Text description of what the online resource is/does, or null.

setDescription

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


getFunction

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

Specified by:
getFunction in interface OnLineResource
Returns:
Function performed by the online resource, or null.

setFunction

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


getLinkage

public 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 OnLineResource
Returns:
Location for on-line access using a Uniform Resource Locator address or similar scheme.

setLinkage

public void setLinkage(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 String getProtocol()
Returns the connection protocol to be used. Returns null if none.

Specified by:
getProtocol in interface OnLineResource
Returns:
Connection protocol to be used, or null.


Copyright © 1996-2014 Geotools. All Rights Reserved.