@Generated(hash = 767587610) public Order(Long id, java.util.Date date, long customerId) { this.id = id; this.date = date; this.customerId = customerId; }
/** Resets a to-many relationship, making the next get call to query for a fresh result. */ @Generated(hash = 1446109810) public synchronized void resetOrders() { orders = null; }
@Generated(hash = 582873426) public TypesInInnerClass(Long id, TypesInInnerClass.MyInnerType type) { this.id = id; this.type = type; }
@Generated(hash = 521031743) public NotNullThing() { }
@Generated(hash = 1105174599) public Order() { }
@Generated(hash = 60841032) public Customer() { }
@Generated(hash = 1272611929) public Note() { }
@Generated(hash = 1272611929) public Note() { }
@Generated(hash = 1686394253) public Note(Long id, @NotNull String text, String comment, java.util.Date date, NoteType type) { this.id = id; this.text = text; this.comment = comment; this.date = date; this.type = type; }
/** called by internal mechanisms, do not call yourself. */ @Generated(hash = 965731666) public void __setDaoSession(DaoSession daoSession) { this.daoSession = daoSession; myDao = daoSession != null ? daoSession.getOrderDao() : null; }
/** called by internal mechanisms, do not call yourself. */ @Generated(hash = 462117449) public void __setDaoSession(DaoSession daoSession) { this.daoSession = daoSession; myDao = daoSession != null ? daoSession.getCustomerDao() : null; }
@Generated(hash = 1686394253) public Note(Long id, @NotNull String text, String comment, java.util.Date date, NoteType type) { this.id = id; this.text = text; this.comment = comment; this.date = date; this.type = type; }
@Generated(hash = 969486800) public Customer(Long id, @NotNull String name) { this.id = id; this.name = name; }
/** * Convenient call for {@link org.greenrobot.greendao.AbstractDao#update(Object)}. * Entity must attached to an entity context. */ @Generated(hash = 713229351) public void update() { if (myDao == null) { throw new DaoException("Entity is detached from DAO context"); } myDao.update(this); }
/** * Convenient call for {@link org.greenrobot.greendao.AbstractDao#delete(Object)}. * Entity must attached to an entity context. */ @Generated(hash = 128553479) public void delete() { if (myDao == null) { throw new DaoException("Entity is detached from DAO context"); } myDao.delete(this); }
/** * Convenient call for {@link org.greenrobot.greendao.AbstractDao#delete(Object)}. * Entity must attached to an entity context. */ @Generated(hash = 128553479) public void delete() { if (myDao == null) { throw new DaoException("Entity is detached from DAO context"); } myDao.delete(this); }
/** * Convenient call for {@link org.greenrobot.greendao.AbstractDao#refresh(Object)}. * Entity must attached to an entity context. */ @Generated(hash = 1942392019) public void refresh() { if (myDao == null) { throw new DaoException("Entity is detached from DAO context"); } myDao.refresh(this); }
/** * Convenient call for {@link org.greenrobot.greendao.AbstractDao#update(Object)}. * Entity must attached to an entity context. */ @Generated(hash = 713229351) public void update() { if (myDao == null) { throw new DaoException("Entity is detached from DAO context"); } myDao.update(this); }
/** * Convenient call for {@link org.greenrobot.greendao.AbstractDao#refresh(Object)}. * Entity must attached to an entity context. */ @Generated(hash = 1942392019) public void refresh() { if (myDao == null) { throw new DaoException("Entity is detached from DAO context"); } myDao.refresh(this); }
/** called by internal mechanisms, do not call yourself. */ @Generated(hash = 625323961) public void setCustomer(@NotNull Customer customer) { if (customer == null) { throw new DaoException( "To-one property 'customerId' has not-null constraint; cannot set to-one to null"); } synchronized (this) { this.customer = customer; customerId = customer.getId(); customer__resolvedKey = customerId; } }