Class UserRow<TColumn extends UserColumn,​TTable extends UserTable<TColumn>>

    • Constructor Detail

      • UserRow

        protected UserRow​(TTable table,
                          UserColumns<TColumn> columns,
                          int[] columnTypes,
                          Object[] values)
        Constructor
        Parameters:
        table - table
        columns - columns
        columnTypes - column types
        values - values
        Since:
        3.5.0
      • UserRow

        protected UserRow​(TTable table)
        Constructor to create an empty row
        Parameters:
        table - table
      • UserRow

        protected UserRow​(UserRow<TColumn,​TTable> userRow)
        Copy Constructor
        Parameters:
        userRow - user row to copy
    • Method Detail

      • toContentValues

        public ContentValues toContentValues()
        Convert the row to content values
        Returns:
        content values
      • toContentValues

        public ContentValues toContentValues​(boolean includeNulls)
        Convert the row to content values
        Parameters:
        includeNulls - include null values
        Returns:
        content values
      • columnToContentValue

        protected void columnToContentValue​(ContentValues contentValues,
                                            TColumn column,
                                            Object value)
        Map the column to the content values
        Parameters:
        contentValues - content values
        column - column
        value - value