/** @inheritdoc */ @Override public void readEntity(Cursor cursor, TokensBD entity, int offset) { entity.setId(cursor.isNull(offset + 0) ? null : cursor.getLong(offset + 0)); entity.setExpiresIn(cursor.isNull(offset + 1) ? null : cursor.getLong(offset + 1)); entity.setExpiresAt(cursor.isNull(offset + 2) ? null : cursor.getLong(offset + 2)); entity.setTokenType(cursor.isNull(offset + 3) ? null : cursor.getString(offset + 3)); entity.setRefreshToken(cursor.isNull(offset + 4) ? null : cursor.getString(offset + 4)); entity.setAccessToken(cursor.isNull(offset + 5) ? null : cursor.getString(offset + 5)); }