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 ConstructorprotectedUserMappingRow(UserMappingTable table)Constructor to create an empty rowUserMappingRow(UserCustomRow userCustomRow)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserMappingRowcopy()Copy the rowlonggetBaseId()Get the base IDUserCustomColumngetBaseIdColumn()Get the base ID columnintgetBaseIdColumnIndex()Get the base ID column indexlonggetRelatedId()Get the related IDUserCustomColumngetRelatedIdColumn()Get the related ID columnintgetRelatedIdColumnIndex()Get the related ID column indexUserMappingTablegetTable()voidsetBaseId(long baseId)Set the base IDvoidsetRelatedId(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:
getTablein 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:
copyin classUserCustomRow- Returns:
- row copy
-
-