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 TypeMethodDescriptionvoidaddMetadata(GeoPkgMetadata metadata) Adds a metadata entry in the GeoPacakgevoidaddReference(GeoPkgMetadataReference reference) Adds a metadata reference in the packagegetMetadata(Long id) Returns aGeoPkgMetadatawith the given identifierLists all metadata entries present in the GeoPackagegetReferences(GeoPkgMetadata metadata) voidremoveMetadata(GeoPkgMetadata metadata) Deletes a metadata entry from the GeoPackagevoidremoveReference(GeoPkgMetadataReference reference) Removes the given metadata reference from the packagevoidupdateMetadata(GeoPkgMetadata metadata) Updates metadata entry in the GeoPackagevoidupdateReference(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 aGeoPkgMetadatawith 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
-