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
User Mapping Row containing the values from a single cursor row
- Since:
- 3.0.1
-
Field Summary
Fields inherited from class mil.nga.geopackage.user.UserCoreRow
columns, columnTypes, table, values
-
Constructor Summary
ModifierConstructorDescriptionUserMappingRow
(UserMappingRow userMappingRow) Copy Constructorprotected
UserMappingRow
(UserMappingTable table) Constructor to create an empty rowUserMappingRow
(UserCustomRow userCustomRow) Constructor -
Method Summary
Modifier and TypeMethodDescriptioncopy()
Copy the rowlong
Get the base IDGet the base ID columnint
Get the base ID column indexlong
Get the related IDGet the related ID columnint
Get the related ID column indexgetTable()
void
setBaseId
(long baseId) Set the base IDvoid
setRelatedId
(long relatedId) Set the related IDMethods 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 Details
-
UserMappingRow
Constructor- Parameters:
userCustomRow
- user custom row
-
Method Details
-
getTable
- Overrides:
getTable
in classUserCoreRow<UserCustomColumn,
UserCustomTable>
-
getBaseIdColumnIndex
public int getBaseIdColumnIndex()Get the base ID column index- Returns:
- base ID column index
-
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
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
Copy the row- Overrides:
copy
in classUserCustomRow
- Returns:
- row copy
-