/** @inheritdoc */ @Override protected Long updateKeyAfterInsert(StaffsTasks entity, long rowId) { entity.setId(rowId); return rowId; }
/** @inheritdoc */ @Override public void readEntity(Cursor cursor, StaffsTasks entity, int offset) { entity.setId(cursor.isNull(offset + 0) ? null : cursor.getLong(offset + 0)); entity.setStaff_id(cursor.getLong(offset + 1)); entity.setTask_id(cursor.getLong(offset + 2)); }