Class MediapackageMetadataImpl

    • Field Detail

      • title

        protected String title
      • seriesTitle

        protected String seriesTitle
      • seriesIdentifier

        protected String seriesIdentifier
      • creators

        protected String[] creators
      • contributors

        protected String[] contributors
      • subjects

        protected String[] subjects
      • language

        protected String language
      • license

        protected String license
      • date

        protected Date date
    • Constructor Detail

      • MediapackageMetadataImpl

        public MediapackageMetadataImpl()
    • Method Detail

      • getTitle

        public String getTitle()
        Returns the title of the episode that this mediapackage represents.
        Specified by:
        getTitle in interface MediaPackageMetadata
        Returns:
        The episode title
      • setTitle

        public void setTitle​(String title)
        Sets the media package's title.
        Parameters:
        title - the title
      • setSeriesTitle

        public void setSeriesTitle​(String seriesTitle)
        Sets the series title.
        Parameters:
        seriesTitle - the series title
      • setSeriesIdentifier

        public void setSeriesIdentifier​(String seriesIdentifier)
        Sets the series identifier
        Parameters:
        seriesIdentifier - the series identifier
      • getCreators

        public String[] getCreators()
        The names of the creators. If no creators were specified, an empty array is returned.
        Specified by:
        getCreators in interface MediaPackageMetadata
        Returns:
        the creators for this mediapackage
      • setCreators

        public void setCreators​(String[] creators)
        Sets the list of creators.
        Parameters:
        creators - the creators
      • getContributors

        public String[] getContributors()
        Description copied from interface: MediaPackageMetadata
        The contributors. If no contributors were specified, an empty array is returned.
        Specified by:
        getContributors in interface MediaPackageMetadata
        Returns:
        the contributors for this mediapackage
      • setContributors

        public void setContributors​(String[] contributors)
        Sets the mediapackage's contributors.
        Parameters:
        contributors - the contributors
      • getSubjects

        public String[] getSubjects()
        The subjects. If no subjects were specified, an empty array is returned.
        Specified by:
        getSubjects in interface MediaPackageMetadata
        Returns:
        the subjects for this mediapackage
      • setSubjects

        public void setSubjects​(String[] subjects)
        Sets the mediapackage's subjects.
        Parameters:
        subjects - the subjects
      • setLanguage

        public void setLanguage​(String language)
        Sets the mediapackage's language.
        Parameters:
        language - the language
      • getLicense

        public String getLicense()
        The license under which this episode is available
        Specified by:
        getLicense in interface MediaPackageMetadata
        Returns:
        the license for this mediapackage
      • setLicense

        public void setLicense​(String license)
        Sets the mediapackage license.
        Parameters:
        license - the license
      • setDate

        public void setDate​(Date date)
        Sets the mediapackage's creation date.
        Parameters:
        date - the creation date