예제 #1
0
 /** To-one relationship, resolved on first access. */
 public Abilities getAbilities() {
   long __key = this.AbilityId;
   if (Abilities__resolvedKey == null || !Abilities__resolvedKey.equals(__key)) {
     if (daoSession == null) {
       throw new DaoException("Entity is detached from DAO context");
     }
     AbilitiesDao targetDao = daoSession.getAbilitiesDao();
     Abilities AbilitiesNew = targetDao.load(__key);
     synchronized (this) {
       Abilities = AbilitiesNew;
       Abilities__resolvedKey = __key;
     }
   }
   return Abilities;
 }
예제 #2
0
 /** To-one relationship, resolved on first access. */
 public Languages getLanguages() {
   long __key = this.LocalLanguageId;
   if (Languages__resolvedKey == null || !Languages__resolvedKey.equals(__key)) {
     if (daoSession == null) {
       throw new DaoException("Entity is detached from DAO context");
     }
     LanguagesDao targetDao = daoSession.getLanguagesDao();
     Languages LanguagesNew = targetDao.load(__key);
     synchronized (this) {
       Languages = LanguagesNew;
       Languages__resolvedKey = __key;
     }
   }
   return Languages;
 }
예제 #3
0
 /** called by internal mechanisms, do not call yourself. */
 public void __setDaoSession(DaoSession daoSession) {
   this.daoSession = daoSession;
   myDao = daoSession != null ? daoSession.getAbilityNamesDao() : null;
 }