Class StyleMappingRow
- java.lang.Object
-
- mil.nga.geopackage.user.UserCoreRow<TColumn,TTable>
-
- mil.nga.geopackage.user.UserRow<UserCustomColumn,UserCustomTable>
-
- mil.nga.geopackage.user.custom.UserCustomRow
-
- mil.nga.geopackage.extension.related.UserMappingRow
-
- mil.nga.geopackage.extension.nga.style.StyleMappingRow
-
public class StyleMappingRow extends UserMappingRow
Style Mapping Row containing the values from a single result set row- Since:
- 3.2.0
-
-
Field Summary
-
Fields inherited from class mil.nga.geopackage.user.UserCoreRow
columns, columnTypes, table, values
-
-
Constructor Summary
Constructors Modifier Constructor Description StyleMappingRow(StyleMappingRow styleMappingRow)Copy ConstructorprotectedStyleMappingRow(StyleMappingTable table)Constructor to create an empty rowStyleMappingRow(UserCustomRow userCustomRow)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StyleMappingRowcopy()Copy the rowGeometryTypegetGeometryType()Get the geometry typeStringgetGeometryTypeName()Get the geometry type nameUserCustomColumngetGeometryTypeNameColumn()Get the geometry type name columnintgetGeometryTypeNameColumnIndex()Get the geometry type name column indexStyleMappingTablegetTable()voidsetGeometryType(GeometryType geometryType)Set the geometry type-
Methods inherited from class mil.nga.geopackage.extension.related.UserMappingRow
getBaseId, getBaseIdColumn, getBaseIdColumnIndex, getRelatedId, getRelatedIdColumn, getRelatedIdColumnIndex, setBaseId, setRelatedId
-
Methods inherited from class mil.nga.geopackage.user.custom.UserCustomRow
getColumns
-
Methods inherited from class mil.nga.geopackage.user.UserRow
columnToContentValue, isValid, setValid, toContentValues, toContentValues
-
Methods inherited from class mil.nga.geopackage.user.UserCoreRow
columnCount, copyValue, getAsMap, getColumn, getColumn, getColumnIndex, getColumnName, getColumnNames, getId, getPkColumn, getPkColumnIndex, getRowColumnType, getRowColumnType, getRowColumnTypes, getValue, getValue, getValues, getValueString, getValueString, hasColumn, hasId, hasIdColumn, resetId, setId, setValue, setValue, validateValue
-
-
-
-
Constructor Detail
-
StyleMappingRow
protected StyleMappingRow(StyleMappingTable table)
Constructor to create an empty row- Parameters:
table- style mapping table
-
StyleMappingRow
public StyleMappingRow(UserCustomRow userCustomRow)
Constructor- Parameters:
userCustomRow- user custom row
-
StyleMappingRow
public StyleMappingRow(StyleMappingRow styleMappingRow)
Copy Constructor- Parameters:
styleMappingRow- style mapping row to copy
-
-
Method Detail
-
getTable
public StyleMappingTable getTable()
- Overrides:
getTablein classUserMappingRow
-
getGeometryTypeNameColumnIndex
public int getGeometryTypeNameColumnIndex()
Get the geometry type name column index- Returns:
- geometry type name column index
-
getGeometryTypeNameColumn
public UserCustomColumn getGeometryTypeNameColumn()
Get the geometry type name column- Returns:
- geometry type name column
-
getGeometryTypeName
public String getGeometryTypeName()
Get the geometry type name- Returns:
- geometry type name
-
getGeometryType
public GeometryType getGeometryType()
Get the geometry type- Returns:
- geometry type
-
setGeometryType
public void setGeometryType(GeometryType geometryType)
Set the geometry type- Parameters:
geometryType- geometry type
-
copy
public StyleMappingRow copy()
Copy the row- Overrides:
copyin classUserMappingRow- Returns:
- row copy
-
-