public GeoPackageMetadata getOrCreate ( String geoPackage ) { GeoPackageMetadata metadata = get ( geoPackage ) ; if ( metadata == null ) { metadata = new GeoPackageMetadata ( ) ; metadata . setName ( geoPackage ) ; create ( metadata ) ; } return metadata ; }
Get GeoPackage metadata or create it if it does not exist