Class MetadataExtension

    • Constructor Detail

      • MetadataExtension

        public MetadataExtension​(GeoPackageCore geoPackage)
        Constructor
        Parameters:
        geoPackage - GeoPackage
    • Method Detail

      • getOrCreate

        public List<Extensions> getOrCreate()
        Get or create the extension
        Returns:
        extensions
      • has

        public boolean has()
        Determine if the GeoPackage has the extension
        Returns:
        true if has extension
      • removeExtension

        public void removeExtension()
        Remove all trace of the extension
        Since:
        3.2.0
      • getMetadataDao

        public MetadataDao getMetadataDao()
        Get a Metadata DAO
        Returns:
        Metadata DAO
        Since:
        4.0.0
      • getMetadataDao

        public static MetadataDao getMetadataDao​(GeoPackageCore geoPackage)
        Get a Metadata DAO
        Parameters:
        geoPackage - GeoPackage
        Returns:
        Metadata DAO
        Since:
        4.0.0
      • getMetadataDao

        public static MetadataDao getMetadataDao​(GeoPackageCoreConnection db)
        Get a Metadata DAO
        Parameters:
        db - database connection
        Returns:
        Metadata DAO
        Since:
        4.0.0
      • createMetadataTable

        public boolean createMetadataTable()
        Create the Metadata table if it does not already exist
        Returns:
        true if created
        Since:
        4.0.0
      • getMetadataReferenceDao

        public MetadataReferenceDao getMetadataReferenceDao()
        Get a Metadata Reference DAO
        Returns:
        Metadata Reference DAO
        Since:
        4.0.0
      • getMetadataReferenceDao

        public static MetadataReferenceDao getMetadataReferenceDao​(GeoPackageCore geoPackage)
        Get a Metadata Reference DAO
        Parameters:
        geoPackage - GeoPackage
        Returns:
        Metadata Reference DAO
        Since:
        4.0.0
      • getMetadataReferenceDao

        public static MetadataReferenceDao getMetadataReferenceDao​(GeoPackageCoreConnection db)
        Get a Metadata Reference DAO
        Parameters:
        db - database connection
        Returns:
        Metadata Reference DAO
        Since:
        4.0.0
      • createMetadataReferenceTable

        public boolean createMetadataReferenceTable()
        Create the Metadata Reference table if it does not already exist
        Returns:
        true if created
        Since:
        4.0.0