Class UserMappingRow
- 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
-
- Direct Known Subclasses:
StyleMappingRow
public class UserMappingRow extends UserCustomRow
User Mapping 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 UserMappingRow(UserMappingRow userMappingRow)
Copy Constructorprotected
UserMappingRow(UserMappingTable table)
Constructor to create an empty rowUserMappingRow(UserCustomRow userCustomRow)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserMappingRow
copy()
Copy the rowlong
getBaseId()
Get the base IDUserCustomColumn
getBaseIdColumn()
Get the base ID columnint
getBaseIdColumnIndex()
Get the base ID column indexlong
getRelatedId()
Get the related IDUserCustomColumn
getRelatedIdColumn()
Get the related ID columnint
getRelatedIdColumnIndex()
Get the related ID column indexUserMappingTable
getTable()
void
setBaseId(long baseId)
Set the base IDvoid
setRelatedId(long relatedId)
Set the related ID-
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, getId, getPkColumn, getPkColumnIndex, getRowColumnType, getRowColumnType, getRowColumnTypes, getValue, getValue, getValues, getValueString, getValueString, hasColumn, hasId, hasIdColumn, resetId, setId, setValue, setValue, validateValue
-
-
-
-
Constructor Detail
-
UserMappingRow
protected UserMappingRow(UserMappingTable table)
Constructor to create an empty row- Parameters:
table
- user mapping table
-
UserMappingRow
public UserMappingRow(UserCustomRow userCustomRow)
Constructor- Parameters:
userCustomRow
- user custom row
-
UserMappingRow
public UserMappingRow(UserMappingRow userMappingRow)
Copy Constructor- Parameters:
userMappingRow
- user mapping row to copy
-
-
Method Detail
-
getTable
public UserMappingTable getTable()
- Overrides:
getTable
in classUserCoreRow<UserCustomColumn,UserCustomTable>
-
getBaseIdColumnIndex
public int getBaseIdColumnIndex()
Get the base ID column index- Returns:
- base ID column index
-
getBaseIdColumn
public UserCustomColumn getBaseIdColumn()
Get the base ID column- Returns:
- base ID column
-
getBaseId
public long getBaseId()
Get the base ID- Returns:
- base ID
-
setBaseId
public void setBaseId(long baseId)
Set the base ID- Parameters:
baseId
- base ID
-
getRelatedIdColumnIndex
public int getRelatedIdColumnIndex()
Get the related ID column index- Returns:
- related ID column index
-
getRelatedIdColumn
public UserCustomColumn getRelatedIdColumn()
Get the related ID column- Returns:
- related ID column
-
getRelatedId
public long getRelatedId()
Get the related ID- Returns:
- related ID
-
setRelatedId
public void setRelatedId(long relatedId)
Set the related ID- Parameters:
relatedId
- related ID
-
copy
public UserMappingRow copy()
Copy the row- Overrides:
copy
in classUserCustomRow
- Returns:
- row copy
-
-