Back to project page Note.
The source code is released under:
MIT License
If you think the Android project Note listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.bq.db; /* w ww. java 2s . co m*/ import android.database.sqlite.SQLiteDatabase; import java.util.Map; import de.greenrobot.dao.AbstractDao; import de.greenrobot.dao.AbstractDaoSession; import de.greenrobot.dao.identityscope.IdentityScopeType; import de.greenrobot.dao.internal.DaoConfig; import org.bq.db.Note; import org.bq.db.NoteDao; // THIS CODE IS GENERATED BY greenDAO, DO NOT EDIT. /** * {@inheritDoc} * * @see de.greenrobot.dao.AbstractDaoSession */ public class DaoSession extends AbstractDaoSession { private final DaoConfig noteDaoConfig; private final NoteDao noteDao; public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig> daoConfigMap) { super(db); noteDaoConfig = daoConfigMap.get(NoteDao.class).clone(); noteDaoConfig.initIdentityScope(type); noteDao = new NoteDao(noteDaoConfig, this); registerDao(Note.class, noteDao); } public void clear() { noteDaoConfig.getIdentityScope().clear(); } public NoteDao getNoteDao() { return noteDao; } }