Class ReportItemImpl
java.lang.Object
org.opencastproject.usertracking.endpoint.ReportItemImpl
- All Implemented Interfaces:
ReportItem
A JAXB-annotated implementation of ReportItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the episode id the report item is referring tolongGets the number of played seconds of the episodelonggetViews()Get the number of views of the episode idvoidsetEpisodeId(String episodeId) Sets the episode id the report item is referring tovoidsetPlayed(long played) Sets the number of played seconds of the episodevoidsetViews(long views) Sets the number of views of the episode
-
Constructor Details
-
ReportItemImpl
public ReportItemImpl()A no-arg constructor needed by JAXB
-
-
Method Details
-
getEpisodeId
Description copied from interface:ReportItemGets the episode id the report item is referring to- Specified by:
getEpisodeIdin interfaceReportItem- Returns:
-
setEpisodeId
Description copied from interface:ReportItemSets the episode id the report item is referring to- Specified by:
setEpisodeIdin interfaceReportItem- Parameters:
episodeId-
-
getViews
public long getViews()Description copied from interface:ReportItemGet the number of views of the episode id- Specified by:
getViewsin interfaceReportItem- Returns:
-
setViews
public void setViews(long views) Description copied from interface:ReportItemSets the number of views of the episode- Specified by:
setViewsin interfaceReportItem- Parameters:
views-
-
getPlayed
public long getPlayed()Description copied from interface:ReportItemGets the number of played seconds of the episode- Specified by:
getPlayedin interfaceReportItem- Returns:
-
setPlayed
public void setPlayed(long played) Description copied from interface:ReportItemSets the number of played seconds of the episode- Specified by:
setPlayedin interfaceReportItem- Parameters:
played-
-