public Object getFieldValue(_Fields field) {
    switch (field) {
    case ID:
      return Long.valueOf(getId());

    case NAME:
      return getName();

    case PRICE:
      return Integer.valueOf(getPrice());

    }
    throw new IllegalStateException();
  }