de.greenrobot.dao
Class UnitTestDaoAccess<T,K>

java.lang.Object
  extended by 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.


Constructor Summary
UnitTestDaoAccess(SQLiteDatabase db, java.lang.Class<AbstractDao<T,K>> daoClass, IdentityScope<?,?> identityScope)
           
 
Method Summary
 AbstractDao<T,K> getDao()
           
 K getKey(T entity)
           
 Property[] getProperties()
           
 boolean isEntityUpdateable()
           
 T readEntity(Cursor cursor, int offset)
           
 K readKey(Cursor cursor, int offset)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnitTestDaoAccess

public UnitTestDaoAccess(SQLiteDatabase db,
                         java.lang.Class<AbstractDao<T,K>> daoClass,
                         IdentityScope<?,?> identityScope)
                  throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

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 greenrobot.de. All Rights Reserved.