package de.ddb.pdc.metadata;

import java.util.ArrayList;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)
class SearchResultItem {

  private String id;
  private String title;
  private String subtitle;
  private String category;
  private String type;
  private String media;
  private String thumbnail;
  
  // for the data about the author
  private String dateOfBirth;
  private String dateOfDeath;
  private ArrayList<String> placeOfBirth;
  private ArrayList<String> placeOfDeath;

  public String getId() {
    return id;
  }

  public String getTitle() {
    return title;
  }

  public String getSubtitle() {
    return subtitle;
  }

  public String getCategory() {
    return category;
  }

  public String getType() {
    return type;
  }

  public String getMedia() {
    return media;
  }

  public String getThumbnail() {
    return thumbnail;
  }
}

@@ -115,16 +115,77 @@
 rties;%0A%0A
+/**%0A * class for a result item of the search json result%0A */%0A
 @JsonIgn
@@ -424,236 +424,152 @@
 il;%0A
-  
 %0A  /
-/ for the data about the author%0A  private String dateOfBirth;%0A  private String dateOfDeath;%0A  private ArrayList%3CString%3E placeOfBirth;%0A  private ArrayList%3CString%3E placeOfDeath;%0A%0A  public String getId() %7B%0A    return id;%0A  %7D%0A
+**%0A   * Returns the item id of the work.%0A   */%0A  public String getId() %7B%0A    return id;%0A  %7D%0A%0A  /**%0A   * Returns the title of the work.%0A   */
 %0A  p
@@ -609,32 +609,83 @@
 urn title;%0A  %7D%0A%0A
+  /**%0A   * Returns the subtitle of the work.%0A   */%0A
   public String 
@@ -718,32 +718,83 @@
  subtitle;%0A  %7D%0A%0A
+  /**%0A   * Returns the category of the work.%0A   */%0A
   public String 
@@ -831,24 +831,71 @@
 egory;%0A  %7D%0A%0A
+  /**%0A   * Returns the type of the work.%0A   */%0A
   public Str
@@ -928,24 +928,72 @@
  type;%0A  %7D%0A%0A
+  /**%0A   * Returns the media of the work.%0A   */%0A
   public Str
@@ -1032,16 +1032,89 @@
 a;%0A  %7D%0A%0A
+  /**%0A   * Returns the relative path to the thumbnail of the work.%0A   */%0A
   public

add documentation and delete unused variables