Class AnnotationImpl

java.lang.Object
org.opencastproject.annotation.impl.AnnotationImpl
All Implemented Interfaces:
org.opencastproject.annotation.api.Annotation

@Entity(name="Annotation") public class AnnotationImpl extends Object implements org.opencastproject.annotation.api.Annotation
A JAXB-annotated implementation of Annotation
  • Constructor Details

    • AnnotationImpl

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

    • getAnnotationId

      public Long getAnnotationId()
      Specified by:
      getAnnotationId in interface org.opencastproject.annotation.api.Annotation
    • setAnnotationId

      public void setAnnotationId(Long annotationId)
      Specified by:
      setAnnotationId in interface org.opencastproject.annotation.api.Annotation
    • getMediapackageId

      public String getMediapackageId()
      Specified by:
      getMediapackageId in interface org.opencastproject.annotation.api.Annotation
    • setMediapackageId

      public void setMediapackageId(String mediapackageId)
      Specified by:
      setMediapackageId in interface org.opencastproject.annotation.api.Annotation
    • getUserId

      public String getUserId()
      Specified by:
      getUserId in interface org.opencastproject.annotation.api.Annotation
    • setUserId

      public void setUserId(String userId)
      Specified by:
      setUserId in interface org.opencastproject.annotation.api.Annotation
    • getSessionId

      public String getSessionId()
      Specified by:
      getSessionId in interface org.opencastproject.annotation.api.Annotation
    • setSessionId

      public void setSessionId(String sessionId)
      Specified by:
      setSessionId in interface org.opencastproject.annotation.api.Annotation
    • getInpoint

      public int getInpoint()
      Specified by:
      getInpoint in interface org.opencastproject.annotation.api.Annotation
    • setInpoint

      public void setInpoint(int inpoint)
      Specified by:
      setInpoint in interface org.opencastproject.annotation.api.Annotation
    • getOutpoint

      public int getOutpoint()
      Specified by:
      getOutpoint in interface org.opencastproject.annotation.api.Annotation
    • setOutpoint

      public void setOutpoint(int outpoint)
      Specified by:
      setOutpoint in interface org.opencastproject.annotation.api.Annotation
    • getLength

      public int getLength()
      Specified by:
      getLength in interface org.opencastproject.annotation.api.Annotation
    • getType

      public String getType()
      Specified by:
      getType in interface org.opencastproject.annotation.api.Annotation
    • setType

      public void setType(String type)
      Specified by:
      setType in interface org.opencastproject.annotation.api.Annotation
    • getValue

      public String getValue()
      Specified by:
      getValue in interface org.opencastproject.annotation.api.Annotation
    • setValue

      public void setValue(String value)
      Specified by:
      setValue in interface org.opencastproject.annotation.api.Annotation
    • getCreated

      public Date getCreated()
      Specified by:
      getCreated in interface org.opencastproject.annotation.api.Annotation
    • setCreated

      public void setCreated(Date created)
      Specified by:
      setCreated in interface org.opencastproject.annotation.api.Annotation
    • getPrivate

      public Boolean getPrivate()
      Specified by:
      getPrivate in interface org.opencastproject.annotation.api.Annotation
    • setPrivate

      public void setPrivate(Boolean isPrivate)
      Specified by:
      setPrivate in interface org.opencastproject.annotation.api.Annotation