示例#1
0
 /**
  * To-many relationship, resolved on first access (and after reset). Changes to to-many relations
  * are not persisted, make changes to the target entity.
  */
 public List<MatchData> getMatchDataList() {
   if (matchDataList == null) {
     if (daoSession == null) {
       throw new DaoException("Entity is detached from DAO context");
     }
     MatchDataDao targetDao = daoSession.getMatchDataDao();
     List<MatchData> matchDataListNew = targetDao._queryUser_MatchDataList(id);
     synchronized (this) {
       if (matchDataList == null) {
         matchDataList = matchDataListNew;
       }
     }
   }
   return matchDataList;
 }
示例#2
0
 /**
  * To-many relationship, resolved on first access (and after reset). Changes to to-many relations
  * are not persisted, make changes to the target entity.
  */
 public List<PitData> getPitDataList() {
   if (pitDataList == null) {
     if (daoSession == null) {
       throw new DaoException("Entity is detached from DAO context");
     }
     PitDataDao targetDao = daoSession.getPitDataDao();
     List<PitData> pitDataListNew = targetDao._queryUser_PitDataList(id);
     synchronized (this) {
       if (pitDataList == null) {
         pitDataList = pitDataListNew;
       }
     }
   }
   return pitDataList;
 }
示例#3
0
 /** called by internal mechanisms, do not call yourself. */
 public void __setDaoSession(DaoSession daoSession) {
   this.daoSession = daoSession;
   myDao = daoSession != null ? daoSession.getUserDao() : null;
 }