public Object getFieldValue(_Fields field) {
    switch (field) {
    case FILENAME:
      return getFilename();

    case CREATED:
      return Long.valueOf(getCreated());

    case UPDATED:
      return Long.valueOf(getUpdated());

    case DELETED:
      return Long.valueOf(getDeleted());

    case VERSION:
      return Integer.valueOf(getVersion());

    case OWNER:
      return getOwner();

    case CONTENT_LENGTH:
      return Integer.valueOf(getContentLength());

    case CONTENT_HASH:
      return getContentHash();

    }
    throw new IllegalStateException();
  }