public class GeoPkgMetadataExtension extends GeoPkgExtension
| Modifier and Type | Class and Description |
|---|---|
static class |
GeoPkgMetadataExtension.Factory |
GeoPkgExtension.Association, GeoPkgExtension.Scope| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
definition, geoPackage, name, scope| Modifier | Constructor and Description |
|---|---|
protected |
GeoPkgMetadataExtension(GeoPackage geoPackage) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMetadata(GeoPkgMetadata metadata)
Adds a metadata entry in the GeoPacakge
|
void |
addReference(GeoPkgMetadataReference reference)
Adds a metadata reference in the package
|
GeoPkgMetadata |
getMetadata(Long id)
Returns a
GeoPkgMetadata with the given identifier |
List<GeoPkgMetadata> |
getMetadatas()
Lists all metadata entries present in the GeoPackage
|
List<GeoPkgMetadataReference> |
getReferences(GeoPkgMetadata metadata) |
void |
removeMetadata(GeoPkgMetadata metadata)
Deletes a metadata entry from the GeoPackage
|
void |
removeReference(GeoPkgMetadataReference reference)
Removes the given metadata reference from the package
|
void |
updateMetadata(GeoPkgMetadata metadata)
Updates metadata entry in the GeoPackage
|
void |
updateReference(GeoPkgMetadataReference reference)
Updates a metadata reference in the pacakge
|
getAssociations, getConnection, getDefinition, getGeneratedKey, getName, getScope, isRegistered, isRegisteredpublic static final String NAME
protected GeoPkgMetadataExtension(GeoPackage geoPackage)
public List<GeoPkgMetadata> getMetadatas() throws SQLException
SQLExceptionpublic GeoPkgMetadata getMetadata(Long id) throws SQLException
GeoPkgMetadata with the given identifierSQLExceptionpublic void addMetadata(GeoPkgMetadata metadata) throws SQLException
SQLExceptionpublic void updateMetadata(GeoPkgMetadata metadata) throws SQLException
SQLExceptionpublic void removeMetadata(GeoPkgMetadata metadata) throws SQLException
SQLExceptionpublic List<GeoPkgMetadataReference> getReferences(GeoPkgMetadata metadata) throws SQLException
SQLExceptionpublic void addReference(GeoPkgMetadataReference reference) throws SQLException
reference - SQLExceptionpublic void updateReference(GeoPkgMetadataReference reference) throws SQLException
reference - SQLExceptionpublic void removeReference(GeoPkgMetadataReference reference) throws SQLException
SQLExceptionCopyright © 1996–2021 Geotools. All rights reserved.