Class SimpleAttributesRow
- 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.simple.SimpleAttributesRow
-
public class SimpleAttributesRow extends UserCustomRow
User Simple Attributes Row containing the values from a single result set row- Since:
- 3.0.1
- Author:
- osbornb
-
-
Field Summary
-
Fields inherited from class mil.nga.geopackage.user.UserCoreRow
columns, columnTypes, table, values
-
-
Constructor Summary
Constructors Modifier Constructor Description SimpleAttributesRow(SimpleAttributesRow simpleAttributesRow)
Copy Constructorprotected
SimpleAttributesRow(SimpleAttributesTable table)
Constructor to create an empty rowSimpleAttributesRow(UserCustomRow userCustomRow)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimpleAttributesRow
copy()
Copy the rowlong
getId()
Get the idUserCustomColumn
getIdColumn()
Get the id columnint
getIdColumnIndex()
Get the id column indexSimpleAttributesTable
getTable()
-
Methods inherited from class mil.nga.geopackage.user.custom.UserCustomRow
getColumns
-
Methods inherited from class mil.nga.geopackage.user.UserRow
columnToContentValue, toContentValues, toContentValues
-
Methods inherited from class mil.nga.geopackage.user.UserCoreRow
columnCount, copyValue, getAsMap, getColumn, getColumn, getColumnIndex, getColumnName, getColumnNames, getPkColumn, getPkColumnIndex, getRowColumnType, getRowColumnType, getRowColumnTypes, getValue, getValue, getValues, getValueString, getValueString, hasColumn, hasId, hasIdColumn, resetId, setId, setValue, setValue, validateValue
-
-
-
-
Constructor Detail
-
SimpleAttributesRow
protected SimpleAttributesRow(SimpleAttributesTable table)
Constructor to create an empty row- Parameters:
table
- simple attributes table
-
SimpleAttributesRow
public SimpleAttributesRow(UserCustomRow userCustomRow)
Constructor- Parameters:
userCustomRow
- user custom row
-
SimpleAttributesRow
public SimpleAttributesRow(SimpleAttributesRow simpleAttributesRow)
Copy Constructor- Parameters:
simpleAttributesRow
- simple attributes row to copy
-
-
Method Detail
-
getTable
public SimpleAttributesTable getTable()
- Overrides:
getTable
in classUserCoreRow<UserCustomColumn,UserCustomTable>
-
getIdColumnIndex
public int getIdColumnIndex()
Get the id column index- Returns:
- id column index
-
getIdColumn
public UserCustomColumn getIdColumn()
Get the id column- Returns:
- id column
-
getId
public long getId()
Get the id- Overrides:
getId
in classUserCoreRow<UserCustomColumn,UserCustomTable>
- Returns:
- id
-
copy
public SimpleAttributesRow copy()
Copy the row- Overrides:
copy
in classUserCustomRow
- Returns:
- row copy
-
-