/** @inheritdoc */ @Override public void readEntity(Cursor cursor, ItemFlagProse entity, int offset) { entity.setItemFlagId(cursor.getLong(offset + 0)); entity.setLocalLanguageId(cursor.getLong(offset + 1)); entity.setName(cursor.isNull(offset + 2) ? null : cursor.getString(offset + 2)); entity.setDescription(cursor.isNull(offset + 3) ? null : cursor.getString(offset + 3)); }
/** @inheritdoc */ @Override protected Long updateKeyAfterInsert(ItemFlagProse entity, long rowId) { entity.setItemFlagId(rowId); return rowId; }