Package org.opencastproject.metadata.api
Class MediapackageMetadataImpl
java.lang.Object
org.opencastproject.metadata.api.MediapackageMetadataImpl
- All Implemented Interfaces:
MediaPackageMetadata
Provides metadata for a
MediaPackageMetadata.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]The contributors.String[]The names of the creators.getDate()Returns the media package start time.The language spoken in the mediaThe license under which this episode is availableThe series, if any, that this episode belongs to.Returns the title for the associated series, if any.String[]The subjects.getTitle()Returns the title of the episode that this mediapackage represents.voidsetContributors(String[] contributors) Sets the mediapackage's contributors.voidsetCreators(String[] creators) Sets the list of creators.voidSets the mediapackage's creation date.voidsetLanguage(String language) Sets the mediapackage's language.voidsetLicense(String license) Sets the mediapackage license.voidsetSeriesIdentifier(String seriesIdentifier) Sets the series identifiervoidsetSeriesTitle(String seriesTitle) Sets the series title.voidsetSubjects(String[] subjects) Sets the mediapackage's subjects.voidSets the media package's title.
-
Field Details
-
title
-
seriesTitle
-
seriesIdentifier
-
creators
-
contributors
-
subjects
-
language
-
license
-
date
-
-
Constructor Details
-
MediapackageMetadataImpl
public MediapackageMetadataImpl()
-
-
Method Details
-
getTitle
Returns the title of the episode that this mediapackage represents.- Specified by:
getTitlein interfaceMediaPackageMetadata- Returns:
- The episode title
-
setTitle
Sets the media package's title.- Parameters:
title- the title
-
getSeriesTitle
Returns the title for the associated series, if any.- Specified by:
getSeriesTitlein interfaceMediaPackageMetadata- Returns:
- The series title
-
setSeriesTitle
Sets the series title.- Parameters:
seriesTitle- the series title
-
getSeriesIdentifier
The series, if any, that this episode belongs to.- Specified by:
getSeriesIdentifierin interfaceMediaPackageMetadata- Returns:
- the series for this mediapackage
-
setSeriesIdentifier
Sets the series identifier- Parameters:
seriesIdentifier- the series identifier
-
getCreators
The names of the creators. If no creators were specified, an empty array is returned.- Specified by:
getCreatorsin interfaceMediaPackageMetadata- Returns:
- the creators for this mediapackage
-
setCreators
Sets the list of creators.- Parameters:
creators- the creators
-
getContributors
Description copied from interface:MediaPackageMetadataThe contributors. If no contributors were specified, an empty array is returned.- Specified by:
getContributorsin interfaceMediaPackageMetadata- Returns:
- the contributors for this mediapackage
-
setContributors
Sets the mediapackage's contributors.- Parameters:
contributors- the contributors
-
getSubjects
The subjects. If no subjects were specified, an empty array is returned.- Specified by:
getSubjectsin interfaceMediaPackageMetadata- Returns:
- the subjects for this mediapackage
-
setSubjects
Sets the mediapackage's subjects.- Parameters:
subjects- the subjects
-
getLanguage
The language spoken in the media- Specified by:
getLanguagein interfaceMediaPackageMetadata- Returns:
- the language for this mediapackage
-
setLanguage
Sets the mediapackage's language.- Parameters:
language- the language
-
getLicense
The license under which this episode is available- Specified by:
getLicensein interfaceMediaPackageMetadata- Returns:
- the license for this mediapackage
-
setLicense
Sets the mediapackage license.- Parameters:
license- the license
-
getDate
Returns the media package start time.- Specified by:
getDatein interfaceMediaPackageMetadata- Returns:
- the start time
-
setDate
Sets the mediapackage's creation date.- Parameters:
date- the creation date
-