Esempio n. 1
0
 /** @inheritdoc */
 @Override
 public void readEntity(Cursor cursor, MunkaKep entity, int offset) {
   entity.setMunkaKepID(cursor.isNull(offset + 0) ? null : cursor.getLong(offset + 0));
   entity.setMunkaKepPath(cursor.isNull(offset + 1) ? null : cursor.getString(offset + 1));
   entity.setMunkaKepDate(cursor.isNull(offset + 2) ? null : cursor.getString(offset + 2));
   entity.setMunkaKepIsUploaded(
       cursor.isNull(offset + 3) ? null : cursor.getShort(offset + 3) != 0);
   entity.setMunkaKepIsActive(cursor.isNull(offset + 4) ? null : cursor.getShort(offset + 4) != 0);
   entity.setMunkaID(cursor.isNull(offset + 5) ? null : cursor.getLong(offset + 5));
 }