/**
  * 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<ObservationGroupMeta> getMetaData() {
   if (metaData == null) {
     if (daoSession == null) {
       throw new DaoException("Entity is detached from DAO context");
     }
     ObservationGroupMetaDao targetDao = daoSession.getObservationGroupMetaDao();
     List<ObservationGroupMeta> metaDataNew = targetDao._queryObservationGroup_MetaData(id);
     synchronized (this) {
       if (metaData == null) {
         metaData = metaDataNew;
       }
     }
   }
   return metaData;
 }
 /** To-one relationship, resolved on first access. */
 public Owner getOwner() {
   Long __key = this.ownerID;
   if (owner__resolvedKey == null || !owner__resolvedKey.equals(__key)) {
     if (daoSession == null) {
       throw new DaoException("Entity is detached from DAO context");
     }
     OwnerDao targetDao = daoSession.getOwnerDao();
     Owner ownerNew = targetDao.load(__key);
     synchronized (this) {
       owner = ownerNew;
       owner__resolvedKey = __key;
     }
   }
   return owner;
 }
 /**
  * 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<GroupObservation> getGroupObservations() {
   if (groupObservations == null) {
     if (daoSession == null) {
       throw new DaoException("Entity is detached from DAO context");
     }
     GroupObservationDao targetDao = daoSession.getGroupObservationDao();
     List<GroupObservation> groupObservationsNew =
         targetDao._queryObservationGroup_GroupObservations(id);
     synchronized (this) {
       if (groupObservations == null) {
         groupObservations = groupObservationsNew;
       }
     }
   }
   return groupObservations;
 }
 /** called by internal mechanisms, do not call yourself. */
 public void __setDaoSession(DaoSession daoSession) {
   this.daoSession = daoSession;
   myDao = daoSession != null ? daoSession.getObservationGroupDao() : null;
 }