public class ReflectDao<DbObject> extends AbstractDao<DbObject>
AbstractDaoID, mTransformer, sDatabaseHelper| Modifier | Constructor and Description |
|---|---|
protected |
ReflectDao()
Use this constructor if ReflectDao is used for extended class.
|
|
ReflectDao(java.lang.Class<DbObject> cls)
Use this constructor if you directly instantiates ReflectDao.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Class<DbObject> |
getParameterClass()
Obtains typed class if this class is subtyped.
|
protected SqlTableFactory |
getTableDeclaration()
Override if you need to manually change table declaration
|
java.lang.String |
getTableName()
Override, if you want to change table name
|
void |
onTableCreate(android.database.sqlite.SQLiteDatabase db)
Method is used to create necessary tables for this dao.
|
add, add, add, addOrReplace, addOrReplace, addOrReplace, cancelTransaction, closeDatabase, convertCursor, count, delete, delete, deleteAll, endTransaction, getAll, getById, getList, getOneResult, onPostCreate, prepareValues, setDatabaseConfiguration, startTransaction, update, updateprotected ReflectDao()
public ReflectDao(java.lang.Class<DbObject> cls)
protected java.lang.Class<DbObject> getParameterClass()
public java.lang.String getTableName()
getTableName in class AbstractDao<DbObject>protected SqlTableFactory getTableDeclaration()
public void onTableCreate(android.database.sqlite.SQLiteDatabase db)
AbstractDaoonTableCreate in class AbstractDao<DbObject>