Package org.geotools.geopkg
Class GeoPkgMetadataExtension
Object
GeoPkgExtension
GeoPkgMetadataExtension
Supports the GeoPackage metadata extension, defined as a "registered extension" in the GeoPackage standard at
http://www.geopackage.org/spec121/#extension_metadata
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class GeoPkgExtension
GeoPkgExtension.Association, GeoPkgExtension.Scope
-
Field Summary
FieldsFields inherited from class GeoPkgExtension
definition, geoPackage, name, scope
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMetadata
(GeoPkgMetadata metadata) Adds a metadata entry in the GeoPacakgevoid
addReference
(GeoPkgMetadataReference reference) Adds a metadata reference in the packagegetMetadata
(Long id) Returns aGeoPkgMetadata
with the given identifierLists all metadata entries present in the GeoPackagegetReferences
(GeoPkgMetadata metadata) void
removeMetadata
(GeoPkgMetadata metadata) Deletes a metadata entry from the GeoPackagevoid
removeReference
(GeoPkgMetadataReference reference) Removes the given metadata reference from the packagevoid
updateMetadata
(GeoPkgMetadata metadata) Updates metadata entry in the GeoPackagevoid
updateReference
(GeoPkgMetadataReference reference) Updates a metadata reference in the pacakgeMethods inherited from class GeoPkgExtension
getAssociations, getConnection, getDefinition, getGeneratedKey, getName, getScope, isRegistered, isRegistered
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
GeoPkgMetadataExtension
-
-
Method Details
-
getMetadatas
Lists all metadata entries present in the GeoPackage- Throws:
SQLException
-
getMetadata
Returns aGeoPkgMetadata
with the given identifier- Throws:
SQLException
-
addMetadata
Adds a metadata entry in the GeoPacakge- Throws:
SQLException
-
updateMetadata
Updates metadata entry in the GeoPackage- Throws:
SQLException
-
removeMetadata
Deletes a metadata entry from the GeoPackage- Throws:
SQLException
-
getReferences
- Throws:
SQLException
-
addReference
Adds a metadata reference in the package- Parameters:
reference
-- Throws:
SQLException
-
updateReference
Updates a metadata reference in the pacakge- Parameters:
reference
-- Throws:
SQLException
-
removeReference
Removes the given metadata reference from the package- Throws:
SQLException
-