private boolean hasStyleRelationship ( String mappingTableName , String baseTable , String relatedTable ) { boolean has = false ; try { has = relatedTables . hasRelations ( baseTable , relatedTable , mappingTableName ) ; } catch ( SQLException e ) { throw new GeoPackageException ( "Failed to check if Feature Style Relationship exists. Base Table: " + baseTable + ", Related Table: " + relatedTable + ", Mapping Table: " + mappingTableName , e ) ; } return has ; }
Check if the style extension relationship between a feature table and style extension table exists