/** 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; }
/** 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<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; }
@Override protected void setUp() throws Exception { super.setUp(); toManyEntityDao = daoSession.getToManyEntityDao(); toManyTargetEntityDao = daoSession.getToManyTargetEntityDao(); }