Пример #1
0
 /** @inheritdoc */
 @Override
 public void readEntity(Cursor cursor, stepbean entity, int offset) {
   entity.setDay(cursor.isNull(offset + 0) ? null : cursor.getString(offset + 0));
   entity.setBengin(cursor.isNull(offset + 1) ? null : cursor.getLong(offset + 1));
   entity.setEnd(cursor.isNull(offset + 2) ? null : cursor.getLong(offset + 2));
   entity.setStepcount(cursor.isNull(offset + 3) ? null : cursor.getInt(offset + 3));
   entity.setSource(cursor.isNull(offset + 4) ? null : cursor.getInt(offset + 4));
 }