Class AttributeTests
java.lang.Object
org.opengis.cite.gpkg12.CommonFixture
org.opengis.cite.gpkg12.attributes.AttributeTests
Defines test methods that verify a GeoPackage's content relating to attributes.
 
Sources
- GeoPackage Encoding Standard - 2.4 Attributes (OGC 12-128r13)
 
- Author:
 - Brad Hards
 
- 
Field Summary
Fields inherited from class org.opengis.cite.gpkg12.CommonFixture
databaseConnection, dataSource, geopackageVersion, gpkgFile, ROOT_PKG_PATH - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidA GeoPackage MAY contain tables or updatable views containing attribute sets.voidsetUp()Shared setup.Methods inherited from class org.opengis.cite.gpkg12.CommonFixture
checkPrimaryKey, close, getGeopackageVersion, getPrimaryKeyColumn, getTestName, initCommonFixture, isExtendedType, setTestName, validateClassEnabled 
- 
Constructor Details
- 
AttributeTests
public AttributeTests() 
 - 
 - 
Method Details
- 
setUp
Shared setup.- Throws:
 SQLException- if connection could not be established
 - 
attributeTableIntegerPrimaryKey
A GeoPackage MAY contain tables or updatable views containing attribute sets. Every such Attribute table or view in a GeoPackage SHALL have a column with column type INTEGER and PRIMARY KEY AUTOINCREMENT column constraints per GeoPackage Attributes Example Table or View Definition and EXAMPLE: Attributes table Create Table SQL (Informative). See Attribute User Data Tables - Requirement 119 and /opt/attributes/contents/data/attributes_row- Throws:
 SQLException- If an SQL query causes an error
 
 -