NetworkTypeDao

public class NetworkTypeDao extends AbstractDao<NetworkType, Long>

DAO for table NetworkTypeTable.

Fields

TABLENAME

public static final String TABLENAME

Constructors

NetworkTypeDao

public NetworkTypeDao(DaoConfig config)

NetworkTypeDao

public NetworkTypeDao(DaoConfig config, DaoSession daoSession)

Methods

bindValues

protected void bindValues(SQLiteStatement stmt, NetworkType 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(NetworkType entity)

isEntityUpdateable

protected boolean isEntityUpdateable()

readEntity

public NetworkType readEntity(Cursor cursor, int offset)

readEntity

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

readKey

public Long readKey(Cursor cursor, int offset)

updateKeyAfterInsert

protected Long updateKeyAfterInsert(NetworkType entity, long rowId)