Class AnnotationListImpl

java.lang.Object
org.opencastproject.annotation.impl.AnnotationListImpl
All Implemented Interfaces:
org.opencastproject.annotation.api.AnnotationList

public class AnnotationListImpl extends Object implements org.opencastproject.annotation.api.AnnotationList
A List of AnnotationLists
  • Field Details

    • total

      protected int total
    • offset

      protected int offset
    • limit

      protected int limit
    • annotations

      protected List<AnnotationImpl> annotations
  • Constructor Details

    • AnnotationListImpl

      public AnnotationListImpl()
      A no-arg constructor needed by JAXB
  • Method Details

    • add

      public void add(org.opencastproject.annotation.api.Annotation annotation)
    • setTotal

      public void setTotal(int total)
      Specified by:
      setTotal in interface org.opencastproject.annotation.api.AnnotationList
    • setLimit

      public void setLimit(int limit)
      Specified by:
      setLimit in interface org.opencastproject.annotation.api.AnnotationList
    • setOffset

      public void setOffset(int offset)
      Specified by:
      setOffset in interface org.opencastproject.annotation.api.AnnotationList
    • getTotal

      public int getTotal()
      Specified by:
      getTotal in interface org.opencastproject.annotation.api.AnnotationList
    • getLimit

      public int getLimit()
      Specified by:
      getLimit in interface org.opencastproject.annotation.api.AnnotationList
    • getOffset

      public int getOffset()
      Specified by:
      getOffset in interface org.opencastproject.annotation.api.AnnotationList
    • getAnnotations

      public List<org.opencastproject.annotation.api.Annotation> getAnnotations()
      Specified by:
      getAnnotations in interface org.opencastproject.annotation.api.AnnotationList