HourDao

public class HourDao extends AbstractDao<Hour, Long>

DAO for table HourTable.

Fields

TABLENAME

public static final String TABLENAME

Constructors

HourDao

public HourDao(DaoConfig config)

HourDao

public HourDao(DaoConfig config, DaoSession daoSession)

Methods

bindValues

protected void bindValues(SQLiteStatement stmt, Hour entity)

createTable

public static void createTable(SQLiteDatabase db, boolean ifNotExists)

Creates the underlying database table.

dropTable

public static void dropTable(SQLiteDatabase db, boolean ifExists)

Drops the underlying database table.

getKey

public Long getKey(Hour entity)

isEntityUpdateable

protected boolean isEntityUpdateable()

readEntity

public Hour readEntity(Cursor cursor, int offset)

readEntity

public void readEntity(Cursor cursor, Hour entity, int offset)

readKey

public Long readKey(Cursor cursor, int offset)

updateKeyAfterInsert

protected Long updateKeyAfterInsert(Hour entity, long rowId)