de.greenrobot.dao
Class UnitTestDaoAccess<T,K>
java.lang.Object
de.greenrobot.dao.UnitTestDaoAccess<T,K>
public class UnitTestDaoAccess<T,K>
- extends java.lang.Object
Reserved for internal unit tests that want to access some non-public methods. Don't use for anything else.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnitTestDaoAccess
public UnitTestDaoAccess(SQLiteDatabase db,
java.lang.Class<AbstractDao<T,K>> daoClass,
IdentityScope<?,?> identityScope)
throws java.lang.Exception
- Throws:
java.lang.Exception
getKey
public K getKey(T entity)
getProperties
public Property[] getProperties()
isEntityUpdateable
public boolean isEntityUpdateable()
readEntity
public T readEntity(Cursor cursor,
int offset)
readKey
public K readKey(Cursor cursor,
int offset)
getDao
public AbstractDao<T,K> getDao()
Copyright © 2011-2012 greenrobot.de. All Rights Reserved.