public abstract class FeatureCoreStyleExtension extends BaseExtension
| Modifier and Type | Field and Description |
|---|---|
protected ContentsIdExtension |
contentsId
Contents Id extension
|
static String |
EXTENSION_AUTHOR
Extension author
|
static String |
EXTENSION_DEFINITION
Extension definition URL
|
static String |
EXTENSION_NAME
Extension, with author and name
|
static String |
EXTENSION_NAME_NO_AUTHOR
Extension name without the author
|
protected RelatedTablesCoreExtension |
relatedTables
Related Tables extension
|
static String |
TABLE_MAPPING_ICON
Table name prefix for mapping icons
|
static String |
TABLE_MAPPING_STYLE
Table name prefix for mapping styles
|
static String |
TABLE_MAPPING_TABLE_ICON
Table name prefix for mapping icon defaults
|
static String |
TABLE_MAPPING_TABLE_STYLE
Table name prefix for mapping style defaults
|
extensionsDao, geoPackage| Modifier | Constructor and Description |
|---|---|
protected |
FeatureCoreStyleExtension(GeoPackageCore geoPackage,
RelatedTablesCoreExtension relatedTables)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
createIconRelationship(String featureTable)
Create an icon relationship for the feature table
|
void |
createRelationships(String featureTable)
Create style, icon, table style, and table icon relationships for the
feature table
|
void |
createStyleRelationship(String featureTable)
Create a style relationship for the feature table
|
void |
createTableIconRelationship(String featureTable)
Create a feature table icon relationship
|
void |
createTableStyleRelationship(String featureTable)
Create a feature table style relationship
|
void |
deleteIconRelationship(String featureTable)
Delete a icon relationship for the feature table
|
void |
deleteRelationships()
Delete the style and icon table and row relationships for all feature
tables
|
void |
deleteRelationships(String featureTable)
Delete the style and icon table and row relationships for the feature
table
|
void |
deleteStyleRelationship(String featureTable)
Delete a style relationship for the feature table
|
void |
deleteTableIconRelationship(String featureTable)
Delete a table icon relationship for the feature table
|
void |
deleteTableStyleRelationship(String featureTable)
Delete a table style relationship for the feature table
|
ContentsIdExtension |
getContentsId()
Get the contents id extension
|
String |
getMappingTableName(String tablePrefix,
String featureTable)
Get the mapping table name
|
RelatedTablesCoreExtension |
getRelatedTables()
Get the related tables extension
|
List<String> |
getTables()
Get the feature tables registered with the extension
|
boolean |
has()
Determine if the GeoPackage has the extension
|
boolean |
has(String featureTable)
Determine if the GeoPackage has the extension for the feature table
|
boolean |
hasIconRelationship(String featureTable)
Determine if an icon relationship exists for the feature table
|
boolean |
hasRelationship(String featureTable)
Check if feature table has a style, icon, table style, or table icon
relationships
|
boolean |
hasStyleRelationship(String featureTable)
Determine if a style relationship exists for the feature table
|
boolean |
hasTableIconRelationship(String featureTable)
Determine if a feature table icon relationship exists
|
boolean |
hasTableStyleRelationship(String featureTable)
Determine if a feature table style relationship exists
|
void |
removeExtension()
Completely remove and delete the extension and all styles and icons
|
get, getExtensions, getExtensions, getExtensionsDao, getGeoPackage, getOrCreate, has, haspublic static final String EXTENSION_AUTHOR
public static final String EXTENSION_NAME_NO_AUTHOR
public static final String EXTENSION_NAME
public static final String EXTENSION_DEFINITION
public static final String TABLE_MAPPING_STYLE
public static final String TABLE_MAPPING_TABLE_STYLE
public static final String TABLE_MAPPING_ICON
public static final String TABLE_MAPPING_TABLE_ICON
protected final RelatedTablesCoreExtension relatedTables
protected final ContentsIdExtension contentsId
protected FeatureCoreStyleExtension(GeoPackageCore geoPackage, RelatedTablesCoreExtension relatedTables)
geoPackage - GeoPackagerelatedTables - related tablespublic List<String> getTables()
public boolean has()
public boolean has(String featureTable)
has in class BaseExtensionfeatureTable - feature tablepublic RelatedTablesCoreExtension getRelatedTables()
public ContentsIdExtension getContentsId()
public void createRelationships(String featureTable)
featureTable - feature tablepublic boolean hasRelationship(String featureTable)
featureTable - feature tablepublic void createStyleRelationship(String featureTable)
featureTable - feature tablepublic boolean hasStyleRelationship(String featureTable)
featureTable - feature tablepublic void createTableStyleRelationship(String featureTable)
featureTable - feature tablepublic boolean hasTableStyleRelationship(String featureTable)
featureTable - feature tablepublic void createIconRelationship(String featureTable)
featureTable - feature tablepublic boolean hasIconRelationship(String featureTable)
featureTable - feature tablepublic void createTableIconRelationship(String featureTable)
featureTable - feature tablepublic boolean hasTableIconRelationship(String featureTable)
featureTable - feature tablepublic String getMappingTableName(String tablePrefix, String featureTable)
tablePrefix - table name prefixfeatureTable - feature table namepublic void deleteRelationships()
public void deleteRelationships(String featureTable)
featureTable - feature tablepublic void deleteStyleRelationship(String featureTable)
featureTable - feature tablepublic void deleteTableStyleRelationship(String featureTable)
featureTable - feature tablepublic void deleteIconRelationship(String featureTable)
featureTable - feature tablepublic void deleteTableIconRelationship(String featureTable)
featureTable - feature tablepublic void removeExtension()
Copyright © 2020 National Geospatial-Intelligence Agency. All rights reserved.