TColumn - column typeTTable - table typepublic abstract class UserRow<TColumn extends UserColumn,TTable extends UserTable<TColumn>> extends UserCoreRow<TColumn,TTable>
columnTypes, table, values| Modifier | Constructor and Description |
|---|---|
protected |
UserRow(TTable table)
Constructor to create an empty row
|
protected |
UserRow(TTable table,
int[] columnTypes,
Object[] values)
Constructor
|
protected |
UserRow(UserRow<TColumn,TTable> userRow)
Copy Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
columnToContentValue(ContentValues contentValues,
TColumn column,
Object value)
Map the column to the content values
|
boolean |
isValid()
Check if the row is valid
|
void |
setValid(boolean valid)
Set the row valid state
|
ContentValues |
toContentValues()
Convert the row to content values
|
columnCount, copyValue, getAsMap, getColumn, getColumn, getColumnIndex, getColumnName, getColumnNames, getId, getPkColumn, getPkColumnIndex, getRowColumnType, getRowColumnType, getRowColumnTypes, getTable, getValue, getValue, getValues, getValueString, getValueString, hasColumn, hasId, hasIdColumn, resetId, setValue, setValue, validateValueprotected UserRow(TTable table, int[] columnTypes, Object[] values)
table - tablecolumnTypes - column typesvalues - valuesprotected UserRow(TTable table)
table - tablepublic ContentValues toContentValues()
protected void columnToContentValue(ContentValues contentValues, TColumn column, Object value)
contentValues - content valuescolumn - columnvalue - valuepublic void setValid(boolean valid)
valid - true if validpublic boolean isValid()