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, isRegistered
public static final String NAME
protected GeoPkgMetadataExtension(GeoPackage geoPackage)
public List<GeoPkgMetadata> getMetadatas() throws SQLException
SQLException
public GeoPkgMetadata getMetadata(Long id) throws SQLException
GeoPkgMetadata
with the given identifierSQLException
public void addMetadata(GeoPkgMetadata metadata) throws SQLException
SQLException
public void updateMetadata(GeoPkgMetadata metadata) throws SQLException
SQLException
public void removeMetadata(GeoPkgMetadata metadata) throws SQLException
SQLException
public List<GeoPkgMetadataReference> getReferences(GeoPkgMetadata metadata) throws SQLException
SQLException
public void addReference(GeoPkgMetadataReference reference) throws SQLException
reference
- SQLException
public void updateReference(GeoPkgMetadataReference reference) throws SQLException
reference
- SQLException
public void removeReference(GeoPkgMetadataReference reference) throws SQLException
SQLException
Copyright © 1996–2021 Geotools. All rights reserved.