/** @inheritdoc */
 @Override
 protected void bindValues(SQLiteStatement stmt, ConquestMoveDisplacements entity) {
   stmt.clearBindings();
   stmt.bindLong(1, entity.getId());
   stmt.bindString(2, entity.getIdentifier());
   stmt.bindLong(3, entity.getAffectsTarget() ? 1L : 0L);
 }
 /** @inheritdoc */
 @Override
 public Long getKey(ConquestMoveDisplacements entity) {
   if (entity != null) {
     return entity.getId();
   } else {
     return null;
   }
 }
 /** @inheritdoc */
 @Override
 protected Long updateKeyAfterInsert(ConquestMoveDisplacements entity, long rowId) {
   entity.setId(rowId);
   return rowId;
 }
 /** @inheritdoc */
 @Override
 public void readEntity(Cursor cursor, ConquestMoveDisplacements entity, int offset) {
   entity.setId(cursor.getLong(offset + 0));
   entity.setIdentifier(cursor.getString(offset + 1));
   entity.setAffectsTarget(cursor.getShort(offset + 2) != 0);
 }