Class CampaignItemResource.AnnotationPage

java.lang.Object
io.goobi.viewer.api.rest.v1.crowdsourcing.CampaignItemResource.AnnotationPage
Enclosing class:
CampaignItemResource

public static class CampaignItemResource.AnnotationPage extends Object
Used to create or read a list of WebAnnotations sorted by their target (a iiif manifest or canvas).
Author:
florian
  • Constructor Details

    • AnnotationPage

      public AnnotationPage()
  • Method Details

    • getId

      public String getId()
      Returns:
      the id
    • setId

      public void setId(String id)
      Parameters:
      id - the id to set
    • getAnnotations

      public List<de.intranda.api.annotation.wa.WebAnnotation> getAnnotations()
      Returns:
      the annotations
    • setAnnotations

      public void setAnnotations(List<de.intranda.api.annotation.wa.WebAnnotation> annotations)
      Parameters:
      annotations - the annotations to set