/** To-one relationship, resolved on first access. */
 public ChildFour getChildFour() {
   Long __key = this.ChildFiveId;
   if (childFour__resolvedKey == null || !childFour__resolvedKey.equals(__key)) {
     if (daoSession == null) {
       throw new DaoException("Entity is detached from DAO context");
     }
     ChildFourDao targetDao = daoSession.getChildFourDao();
     ChildFour childFourNew = targetDao.load(__key);
     synchronized (this) {
       childFour = childFourNew;
       childFour__resolvedKey = __key;
     }
   }
   return childFour;
 }
 /** called by internal mechanisms, do not call yourself. */
 public void __setDaoSession(DaoSession daoSession) {
   this.daoSession = daoSession;
   myDao = daoSession != null ? daoSession.getChildFourDao() : null;
 }