/** * Convenient call for {@link org.greenrobot.greendao.AbstractDao#update(Object)}. * Entity must attached to an entity context. */ @Generated public void update() { __throwIfDetached(); myDao.update(this); }
/** * Convenient call for {@link org.greenrobot.greendao.AbstractDao#delete(Object)}. * Entity must attached to an entity context. */ @Generated public void delete() { __throwIfDetached(); myDao.delete(this); }
/** * Convenient call for {@link org.greenrobot.greendao.AbstractDao#refresh(Object)}. * Entity must attached to an entity context. */ @Generated public void refresh() { __throwIfDetached(); myDao.refresh(this); }
/** To-many relationship, resolved on first access (and after reset). Changes to to-many relations are not persisted, make changes to the target entity. */ @Generated public List<ToManyTargetEntity> getToManyDescList() { if (toManyDescList == null) { __throwIfDetached(); ToManyTargetEntityDao targetDao = daoSession.getToManyTargetEntityDao(); List<ToManyTargetEntity> toManyDescListNew = targetDao._queryToManyEntity_ToManyDescList(id); synchronized (this) { if(toManyDescList == null) { toManyDescList = toManyDescListNew; } } } return toManyDescList; }
/** To-many relationship, resolved on first access (and after reset). Changes to to-many relations are not persisted, make changes to the target entity. */ @Generated public List<DateEntity> getDateEntityList() { if (dateEntityList == null) { __throwIfDetached(); DateEntityDao targetDao = daoSession.getDateEntityDao(); List<DateEntity> dateEntityListNew = targetDao._queryToManyEntity_DateEntityList(id); synchronized (this) { if(dateEntityList == null) { dateEntityList = dateEntityListNew; } } } return dateEntityList; }
/** To-many relationship, resolved on first access (and after reset). Changes to to-many relations are not persisted, make changes to the target entity. */ @Generated public List<ToManyTargetEntity> getToManyTargetEntityList() { if (toManyTargetEntityList == null) { __throwIfDetached(); ToManyTargetEntityDao targetDao = daoSession.getToManyTargetEntityDao(); List<ToManyTargetEntity> toManyTargetEntityListNew = targetDao._queryToManyEntity_ToManyTargetEntityList(id); synchronized (this) { if(toManyTargetEntityList == null) { toManyTargetEntityList = toManyTargetEntityListNew; } } } return toManyTargetEntityList; }
/** To-many relationship, resolved on first access (and after reset). Changes to to-many relations are not persisted, make changes to the target entity. */ @Generated public List<ToManyTargetEntity> getToManyByJoinProperty() { if (toManyByJoinProperty == null) { __throwIfDetached(); ToManyTargetEntityDao targetDao = daoSession.getToManyTargetEntityDao(); List<ToManyTargetEntity> toManyByJoinPropertyNew = targetDao._queryToManyEntity_ToManyByJoinProperty(sourceJoinProperty); synchronized (this) { if(toManyByJoinProperty == null) { toManyByJoinProperty = toManyByJoinPropertyNew; } } } return toManyByJoinProperty; }
/** To-many relationship, resolved on first access (and after reset). Changes to to-many relations are not persisted, make changes to the target entity. */ @Generated public List<ToManyTargetEntity> getToManyJoinTwo() { if (toManyJoinTwo == null) { __throwIfDetached(); ToManyTargetEntityDao targetDao = daoSession.getToManyTargetEntityDao(); List<ToManyTargetEntity> toManyJoinTwoNew = targetDao._queryToManyEntity_ToManyJoinTwo(id, sourceJoinProperty); synchronized (this) { if(toManyJoinTwo == null) { toManyJoinTwo = toManyJoinTwoNew; } } } return toManyJoinTwo; }