Class OnLineResourceImpl
- Object
-
- AbstractMetadata
-
- ModifiableMetadata
-
- MetadataEntity
-
- 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
Fields Modifier and Type Field Description 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
IAU
The online resources for IAU.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
PROJ
The online resources for PROJ.static OnLineResource
SUN_MICROSYSTEMS
The online resources for Sun Microsystems.static OnLineResource
WMS
The download link for Web Map Service specification.-
Fields inherited from class AbstractMetadata
LOGGER
-
-
Constructor Summary
Constructors Constructor Description OnLineResourceImpl()
Creates an initially empty on line resource.OnLineResourceImpl(URI linkage)
Creates an on line resource initialized to the given URI.OnLineResourceImpl(OnlineResourceType onlineResource)
OnLineResourceImpl(OnLineResource source)
Constructs a metadata entity initialized with the values from the specified metadata.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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.
-
IAU
public static final OnLineResource IAU
The online resources for IAU.
-
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
-
PROJ
public static final OnLineResource PROJ
The online resources for PROJ.
-
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.
-
OnLineResourceImpl
public OnLineResourceImpl(OnlineResourceType onlineResource)
-
-
Method Detail
-
getApplicationProfile
public String getApplicationProfile()
Returns the name of an application profile that can be used with the online resource. Returnsnull
if none.- Specified by:
getApplicationProfile
in interfaceOnLineResource
- 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. Returnsnull
if none.- Specified by:
getName
in interfaceOnLineResource
- 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. Returnsnull
if none.- Specified by:
getDescription
in interfaceOnLineResource
- 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. Returnsnull
if unspecified.- Specified by:
getFunction
in interfaceOnLineResource
- 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 interfaceOnLineResource
- 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. Returnsnull
if none.- Specified by:
getProtocol
in interfaceOnLineResource
- Returns:
- Connection protocol to be used, or
null
.
-
-