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 OnLineResourceEPSGThe online resources for the European Petroleum Survey Group.static OnLineResourceESRIThe online resources for ESRI.static OnLineResourceGEOTIFFThe online resources for the GeoTIFF group.static OnLineResourceGEOTOOLSThe online resources for the Geotools project.static OnLineResourceIAUThe online resources for IAU.static OnLineResourceOGCThe online resources for the Open Geospatial Consortium.static OnLineResourceOPEN_GISThe online resources for the OpenGIS consortium.static OnLineResourceORACLEThe online resources for Oracle.static OnLineResourcePOSTGISThe online resources for PostGIS.static OnLineResourcePROJThe online resources for PROJ.static OnLineResourceSUN_MICROSYSTEMSThe online resources for Sun Microsystems.static OnLineResourceWMSThe 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 StringgetApplicationProfile()Returns the name of an application profile that can be used with the online resource.InternationalStringgetDescription()Returns the detailed text description of what the online resource is/does.OnLineFunctiongetFunction()Returns the code for function performed by the online resource.URIgetLinkage()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.StringgetName()Name of the online resource.StringgetProtocol()Returns the connection protocol to be used.voidsetApplicationProfile(String newValue)Set the name of an application profile that can be used with the online resource.voidsetDescription(InternationalString newValue)Set the detailed text description of what the online resource is/does.voidsetFunction(OnLineFunction newValue)Set the code for function performed by the online resource.voidsetLinkage(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.voidsetName(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. Returnsnullif none.- Specified by:
getApplicationProfilein 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. Returnsnullif none.- Specified by:
getNamein 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. Returnsnullif none.- Specified by:
getDescriptionin 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. Returnsnullif unspecified.- Specified by:
getFunctionin 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:
getLinkagein 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. Returnsnullif none.- Specified by:
getProtocolin interfaceOnLineResource- Returns:
- Connection protocol to be used, or
null.
-
-