/** @inheritdoc */
 @Override
 public Long getKey(ItemFlingEffects entity) {
   if (entity != null) {
     return entity.getId();
   } else {
     return null;
   }
 }
 /** @inheritdoc */
 @Override
 public void readEntity(Cursor cursor, ItemFlingEffects entity, int offset) {
   entity.setId(cursor.getLong(offset + 0));
 }
 /** @inheritdoc */
 @Override
 protected Long updateKeyAfterInsert(ItemFlingEffects entity, long rowId) {
   entity.setId(rowId);
   return rowId;
 }
 /** @inheritdoc */
 @Override
 protected void bindValues(SQLiteStatement stmt, ItemFlingEffects entity) {
   stmt.clearBindings();
   stmt.bindLong(1, entity.getId());
 }