當前位置: 首頁>>代碼示例>>Java>>正文


Java IdentityScopeType類代碼示例

本文整理匯總了Java中org.greenrobot.greendao.identityscope.IdentityScopeType的典型用法代碼示例。如果您正苦於以下問題:Java IdentityScopeType類的具體用法?Java IdentityScopeType怎麽用?Java IdentityScopeType使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


IdentityScopeType類屬於org.greenrobot.greendao.identityscope包,在下文中一共展示了IdentityScopeType類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: DaoSession

import org.greenrobot.greendao.identityscope.IdentityScopeType; //導入依賴的package包/類
public DaoSession(Database db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
        daoConfigMap) {
    super(db);

    musicBeanDaoConfig = daoConfigMap.get(MusicBeanDao.class).clone();
    musicBeanDaoConfig.initIdentityScope(type);

    searchNameBeanDaoConfig = daoConfigMap.get(SearchNameBeanDao.class).clone();
    searchNameBeanDaoConfig.initIdentityScope(type);

    videoBeanDaoConfig = daoConfigMap.get(VideoBeanDao.class).clone();
    videoBeanDaoConfig.initIdentityScope(type);

    musicBeanDao = new MusicBeanDao(musicBeanDaoConfig, this);
    searchNameBeanDao = new SearchNameBeanDao(searchNameBeanDaoConfig, this);
    videoBeanDao = new VideoBeanDao(videoBeanDaoConfig, this);

    registerDao(MusicBean.class, musicBeanDao);
    registerDao(SearchNameBean.class, searchNameBeanDao);
    registerDao(VideoBean.class, videoBeanDao);
}
 
開發者ID:popo1379,項目名稱:popomusic,代碼行數:22,代碼來源:DaoSession.java

示例2: DaoSession

import org.greenrobot.greendao.identityscope.IdentityScopeType; //導入依賴的package包/類
public DaoSession(Database db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
        daoConfigMap) {
    super(db);

    tangshiDaoConfig = daoConfigMap.get(TangshiDao.class).clone();
    tangshiDaoConfig.initIdentityScope(type);

    songCiDaoConfig = daoConfigMap.get(SongCiDao.class).clone();
    songCiDaoConfig.initIdentityScope(type);

    tangshiDao = new TangshiDao(tangshiDaoConfig, this);
    songCiDao = new SongCiDao(songCiDaoConfig, this);

    registerDao(Tangshi.class, tangshiDao);
    registerDao(SongCi.class, songCiDao);
}
 
開發者ID:yippeesoft,項目名稱:NotifyTools,代碼行數:17,代碼來源:DaoSession.java

示例3: DaoSession

import org.greenrobot.greendao.identityscope.IdentityScopeType; //導入依賴的package包/類
public DaoSession(Database db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
        daoConfigMap) {
    super(db);

    keepEntityDaoConfig = daoConfigMap.get(KeepEntityDao.class).clone();
    keepEntityDaoConfig.initIdentityScope(type);

    toManyTarget2DaoConfig = daoConfigMap.get(ToManyTarget2Dao.class).clone();
    toManyTarget2DaoConfig.initIdentityScope(type);

    toOneTarget2DaoConfig = daoConfigMap.get(ToOneTarget2Dao.class).clone();
    toOneTarget2DaoConfig.initIdentityScope(type);

    relationSource2DaoConfig = daoConfigMap.get(RelationSource2Dao.class).clone();
    relationSource2DaoConfig.initIdentityScope(type);

    keepEntityDao = new KeepEntityDao(keepEntityDaoConfig, this);
    toManyTarget2Dao = new ToManyTarget2Dao(toManyTarget2DaoConfig, this);
    toOneTarget2Dao = new ToOneTarget2Dao(toOneTarget2DaoConfig, this);
    relationSource2Dao = new RelationSource2Dao(relationSource2DaoConfig, this);

    registerDao(KeepEntity.class, keepEntityDao);
    registerDao(ToManyTarget2.class, toManyTarget2Dao);
    registerDao(ToOneTarget2.class, toOneTarget2Dao);
    registerDao(RelationSource2.class, relationSource2Dao);
}
 
開發者ID:weiwenqiang,項目名稱:GitHub,代碼行數:27,代碼來源:DaoSession.java

示例4: DaoSession

import org.greenrobot.greendao.identityscope.IdentityScopeType; //導入依賴的package包/類
public DaoSession(Database db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
        daoConfigMap) {
    super(db);

    isFirstEnterAppDaoConfig = daoConfigMap.get(IsFirstEnterAppDao.class).clone();
    isFirstEnterAppDaoConfig.initIdentityScope(type);

    userDaoConfig = daoConfigMap.get(UserDao.class).clone();
    userDaoConfig.initIdentityScope(type);

    isFirstEnterAppDao = new IsFirstEnterAppDao(isFirstEnterAppDaoConfig, this);
    userDao = new UserDao(userDaoConfig, this);

    registerDao(IsFirstEnterApp.class, isFirstEnterAppDao);
    registerDao(User.class, userDao);
}
 
開發者ID:devzwy,項目名稱:KUtils,代碼行數:17,代碼來源:DaoSession.java

示例5: DaoSession

import org.greenrobot.greendao.identityscope.IdentityScopeType; //導入依賴的package包/類
public DaoSession(Database db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
        daoConfigMap) {
    super(db);

    cityDaoConfig = daoConfigMap.get(CityDao.class).clone();
    cityDaoConfig.initIdentityScope(type);

    provinceDaoConfig = daoConfigMap.get(ProvinceDao.class).clone();
    provinceDaoConfig.initIdentityScope(type);

    countyDaoConfig = daoConfigMap.get(CountyDao.class).clone();
    countyDaoConfig.initIdentityScope(type);

    cityDao = new CityDao(cityDaoConfig, this);
    provinceDao = new ProvinceDao(provinceDaoConfig, this);
    countyDao = new CountyDao(countyDaoConfig, this);

    registerDao(City.class, cityDao);
    registerDao(Province.class, provinceDao);
    registerDao(County.class, countyDao);
}
 
開發者ID:weixianshishen,項目名稱:LookWeather,代碼行數:22,代碼來源:DaoSession.java

示例6: DaoSession

import org.greenrobot.greendao.identityscope.IdentityScopeType; //導入依賴的package包/類
public DaoSession(Database db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
        daoConfigMap) {
    super(db);

    bannerDaoConfig = daoConfigMap.get(BannerDao.class).clone();
    bannerDaoConfig.initIdentityScope(type);

    orderDaoConfig = daoConfigMap.get(OrderDao.class).clone();
    orderDaoConfig.initIdentityScope(type);

    sceneDaoConfig = daoConfigMap.get(SceneDao.class).clone();
    sceneDaoConfig.initIdentityScope(type);

    bannerDao = new BannerDao(bannerDaoConfig, this);
    orderDao = new OrderDao(orderDaoConfig, this);
    sceneDao = new SceneDao(sceneDaoConfig, this);

    registerDao(Banner.class, bannerDao);
    registerDao(Order.class, orderDao);
    registerDao(Scene.class, sceneDao);
}
 
開發者ID:ymqq,項目名稱:CommonFramework,代碼行數:22,代碼來源:DaoSession.java

示例7: DaoSession

import org.greenrobot.greendao.identityscope.IdentityScopeType; //導入依賴的package包/類
public DaoSession(Database db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
        daoConfigMap) {
    super(db);

    audioInfoDaoConfig = daoConfigMap.get(AudioInfoDao.class).clone();
    audioInfoDaoConfig.initIdentityScope(type);

    videoFileDaoConfig = daoConfigMap.get(VideoFileDao.class).clone();
    videoFileDaoConfig.initIdentityScope(type);

    videoInfoDaoConfig = daoConfigMap.get(VideoInfoDao.class).clone();
    videoInfoDaoConfig.initIdentityScope(type);

    audioInfoDao = new AudioInfoDao(audioInfoDaoConfig, this);
    videoFileDao = new VideoFileDao(videoFileDaoConfig, this);
    videoInfoDao = new VideoInfoDao(videoInfoDaoConfig, this);

    registerDao(AudioInfo.class, audioInfoDao);
    registerDao(VideoFile.class, videoFileDao);
    registerDao(VideoInfo.class, videoInfoDao);
}
 
開發者ID:bigjelly,項目名稱:ShaddockVideoPlayer,代碼行數:22,代碼來源:DaoSession.java

示例8: DaoSession

import org.greenrobot.greendao.identityscope.IdentityScopeType; //導入依賴的package包/類
public DaoSession(Database db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
        daoConfigMap) {
    super(db);

    shoppingListDaoConfig = daoConfigMap.get(ShoppingListDao.class).clone();
    shoppingListDaoConfig.initIdentityScope(type);

    productDaoConfig = daoConfigMap.get(ProductDao.class).clone();
    productDaoConfig.initIdentityScope(type);

    usedProductDaoConfig = daoConfigMap.get(UsedProductDao.class).clone();
    usedProductDaoConfig.initIdentityScope(type);

    statisticDaoConfig = daoConfigMap.get(StatisticDao.class).clone();
    statisticDaoConfig.initIdentityScope(type);

    shoppingListDao = new ShoppingListDao(shoppingListDaoConfig, this);
    productDao = new ProductDao(productDaoConfig, this);
    usedProductDao = new UsedProductDao(usedProductDaoConfig, this);
    statisticDao = new StatisticDao(statisticDaoConfig, this);

    registerDao(ShoppingList.class, shoppingListDao);
    registerDao(Product.class, productDao);
    registerDao(UsedProduct.class, usedProductDao);
    registerDao(Statistic.class, statisticDao);
}
 
開發者ID:Lidchanin,項目名稱:Shopping_List,代碼行數:27,代碼來源:DaoSession.java

示例9: DaoSession

import org.greenrobot.greendao.identityscope.IdentityScopeType; //導入依賴的package包/類
public DaoSession(Database db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
        daoConfigMap) {
    super(db);

    bpmDaoConfig = daoConfigMap.get(BpmDao.class).clone();
    bpmDaoConfig.initIdentityScope(type);

    sMSDaoConfig = daoConfigMap.get(SMSDao.class).clone();
    sMSDaoConfig.initIdentityScope(type);

    bpmDao = new BpmDao(bpmDaoConfig, this);
    sMSDao = new SMSDao(sMSDaoConfig, this);

    registerDao(Bpm.class, bpmDao);
    registerDao(SMS.class, sMSDao);
}
 
開發者ID:InnoFang,項目名稱:FamilyBond,代碼行數:17,代碼來源:DaoSession.java

示例10: DaoSession

import org.greenrobot.greendao.identityscope.IdentityScopeType; //導入依賴的package包/類
public DaoSession(Database db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
        daoConfigMap) {
    super(db);

    partDaoConfig = daoConfigMap.get(PartDao.class).clone();
    partDaoConfig.initIdentityScope(type);

    wordBeanDaoConfig = daoConfigMap.get(WordBeanDao.class).clone();
    wordBeanDaoConfig.initIdentityScope(type);

    partDao = new PartDao(partDaoConfig, this);
    wordBeanDao = new WordBeanDao(wordBeanDaoConfig, this);

    registerDao(Part.class, partDao);
    registerDao(WordBean.class, wordBeanDao);
}
 
開發者ID:Yuanhongliang,項目名稱:Dictionary,代碼行數:17,代碼來源:DaoSession.java

示例11: DaoSession

import org.greenrobot.greendao.identityscope.IdentityScopeType; //導入依賴的package包/類
public DaoSession(Database db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
        daoConfigMap) {
    super(db);

    noteFileDaoConfig = daoConfigMap.get(NoteFileDao.class).clone();
    noteFileDaoConfig.initIdentityScope(type);

    notebookDaoConfig = daoConfigMap.get(NotebookDao.class).clone();
    notebookDaoConfig.initIdentityScope(type);

    noteDaoConfig = daoConfigMap.get(NoteDao.class).clone();
    noteDaoConfig.initIdentityScope(type);

    userInfoDaoConfig = daoConfigMap.get(UserInfoDao.class).clone();
    userInfoDaoConfig.initIdentityScope(type);

    noteFileDao = new NoteFileDao(noteFileDaoConfig, this);
    notebookDao = new NotebookDao(notebookDaoConfig, this);
    noteDao = new NoteDao(noteDaoConfig, this);
    userInfoDao = new UserInfoDao(userInfoDaoConfig, this);

    registerDao(NoteFile.class, noteFileDao);
    registerDao(Notebook.class, notebookDao);
    registerDao(Note.class, noteDao);
    registerDao(UserInfo.class, userInfoDao);
}
 
開發者ID:tsy12321,項目名稱:LeanoteAndroid,代碼行數:27,代碼來源:DaoSession.java

示例12: DaoSession

import org.greenrobot.greendao.identityscope.IdentityScopeType; //導入依賴的package包/類
public DaoSession(Database db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
        daoConfigMap) {
    super(db);

    itemColumnDaoConfig = daoConfigMap.get(ItemColumnDao.class).clone();
    itemColumnDaoConfig.initIdentityScope(type);

    liveCategoryDaoConfig = daoConfigMap.get(LiveCategoryDao.class).clone();
    liveCategoryDaoConfig.initIdentityScope(type);

    playBeanDaoConfig = daoConfigMap.get(PlayBeanDao.class).clone();
    playBeanDaoConfig.initIdentityScope(type);

    itemColumnDao = new ItemColumnDao(itemColumnDaoConfig, this);
    liveCategoryDao = new LiveCategoryDao(liveCategoryDaoConfig, this);
    playBeanDao = new PlayBeanDao(playBeanDaoConfig, this);

    registerDao(ItemColumn.class, itemColumnDao);
    registerDao(LiveCategory.class, liveCategoryDao);
    registerDao(PlayBean.class, playBeanDao);
}
 
開發者ID:a371166028,項目名稱:likequanmintv,代碼行數:22,代碼來源:DaoSession.java

示例13: DaoSession

import org.greenrobot.greendao.identityscope.IdentityScopeType; //導入依賴的package包/類
public DaoSession(Database db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
        daoConfigMap) {
    super(db);

    cityEntityDaoConfig = daoConfigMap.get(CityEntityDao.class).clone();
    cityEntityDaoConfig.initIdentityScope(type);

    loveCityEntityDaoConfig = daoConfigMap.get(LoveCityEntityDao.class).clone();
    loveCityEntityDaoConfig.initIdentityScope(type);

    provinceEntityDaoConfig = daoConfigMap.get(ProvinceEntityDao.class).clone();
    provinceEntityDaoConfig.initIdentityScope(type);

    weatherEntityDaoConfig = daoConfigMap.get(WeatherEntityDao.class).clone();
    weatherEntityDaoConfig.initIdentityScope(type);

    cityEntityDao = new CityEntityDao(cityEntityDaoConfig, this);
    loveCityEntityDao = new LoveCityEntityDao(loveCityEntityDaoConfig, this);
    provinceEntityDao = new ProvinceEntityDao(provinceEntityDaoConfig, this);
    weatherEntityDao = new WeatherEntityDao(weatherEntityDaoConfig, this);

    registerDao(CityEntity.class, cityEntityDao);
    registerDao(LoveCityEntity.class, loveCityEntityDao);
    registerDao(ProvinceEntity.class, provinceEntityDao);
    registerDao(WeatherEntity.class, weatherEntityDao);
}
 
開發者ID:byhieg,項目名稱:easyweather,代碼行數:27,代碼來源:DaoSession.java

示例14: DaoSession

import org.greenrobot.greendao.identityscope.IdentityScopeType; //導入依賴的package包/類
public DaoSession(Database db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
        daoConfigMap) {
    super(db);

    applicationDaoConfig = daoConfigMap.get(ApplicationDao.class).clone();
    applicationDaoConfig.initIdentityScope(type);

    applicationVersionDaoConfig = daoConfigMap.get(ApplicationVersionDao.class).clone();
    applicationVersionDaoConfig.initIdentityScope(type);

    applicationDao = new ApplicationDao(applicationDaoConfig, this);
    applicationVersionDao = new ApplicationVersionDao(applicationVersionDaoConfig, this);

    registerDao(Application.class, applicationDao);
    registerDao(ApplicationVersion.class, applicationVersionDao);
}
 
開發者ID:elimu-ai,項目名稱:appstore,代碼行數:17,代碼來源:DaoSession.java

示例15: DaoSession

import org.greenrobot.greendao.identityscope.IdentityScopeType; //導入依賴的package包/類
public DaoSession(Database db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
        daoConfigMap) {
    super(db);

    gankBeanDaoConfig = daoConfigMap.get(GankBeanDao.class).clone();
    gankBeanDaoConfig.initIdentityScope(type);

    iTHomeItemBeanDaoConfig = daoConfigMap.get(ITHomeItemBeanDao.class).clone();
    iTHomeItemBeanDaoConfig.initIdentityScope(type);

    ribaoStoryBeanDaoConfig = daoConfigMap.get(RibaoStoryBeanDao.class).clone();
    ribaoStoryBeanDaoConfig.initIdentityScope(type);

    gankBeanDao = new GankBeanDao(gankBeanDaoConfig, this);
    iTHomeItemBeanDao = new ITHomeItemBeanDao(iTHomeItemBeanDaoConfig, this);
    ribaoStoryBeanDao = new RibaoStoryBeanDao(ribaoStoryBeanDaoConfig, this);

    registerDao(GankBean.class, gankBeanDao);
    registerDao(ITHomeItemBean.class, iTHomeItemBeanDao);
    registerDao(RibaoStoryBean.class, ribaoStoryBeanDao);
}
 
開發者ID:Glooory,項目名稱:FlatReader,代碼行數:22,代碼來源:DaoSession.java


注:本文中的org.greenrobot.greendao.identityscope.IdentityScopeType類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。