Class ReportItemImpl

java.lang.Object
org.opencastproject.usertracking.endpoint.ReportItemImpl
All Implemented Interfaces:
ReportItem

public class ReportItemImpl extends Object implements ReportItem
A JAXB-annotated implementation of ReportItem
  • Constructor Details

    • ReportItemImpl

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

    • getEpisodeId

      public String getEpisodeId()
      Description copied from interface: ReportItem
      Gets the episode id the report item is referring to
      Specified by:
      getEpisodeId in interface ReportItem
      Returns:
    • setEpisodeId

      public void setEpisodeId(String episodeId)
      Description copied from interface: ReportItem
      Sets the episode id the report item is referring to
      Specified by:
      setEpisodeId in interface ReportItem
      Parameters:
      episodeId -
    • getViews

      public long getViews()
      Description copied from interface: ReportItem
      Get the number of views of the episode id
      Specified by:
      getViews in interface ReportItem
      Returns:
    • setViews

      public void setViews(long views)
      Description copied from interface: ReportItem
      Sets the number of views of the episode
      Specified by:
      setViews in interface ReportItem
      Parameters:
      views -
    • getPlayed

      public long getPlayed()
      Description copied from interface: ReportItem
      Gets the number of played seconds of the episode
      Specified by:
      getPlayed in interface ReportItem
      Returns:
    • setPlayed

      public void setPlayed(long played)
      Description copied from interface: ReportItem
      Sets the number of played seconds of the episode
      Specified by:
      setPlayed in interface ReportItem
      Parameters:
      played -