org.stanwood.media.model
Interface IVideo

All Known Subinterfaces:
IEpisode, IFilm
All Known Implementing Classes:
Episode, Film, XBMCEpisode, XMLEpisode, XMLFilm, XMLVideo

public interface IVideo

This interface is used to define the methods that are common for any type of video that can be shown as a tv show or a film.


Method Summary
 java.util.List<java.lang.String> getDirectors()
          Used to get a list of directors for the video
 java.util.Collection<IVideoFile> getFiles()
          Used to get a list of files that belong to the video entry
 java.lang.String getSummary()
          Used to get a summary of the video
 java.lang.String getTitle()
          Used to get the video title.
 java.util.List<java.lang.String> getWriters()
          Used to get a list of writers for the video
 void setDirectors(java.util.List<java.lang.String> directors)
          Used to set a list of directors for the episode
 void setFiles(java.util.Collection<IVideoFile> videoFiles)
          Used to set the list of files that belong to the video entry
 void setSummary(java.lang.String summary)
          Used to set the films summary
 void setTitle(java.lang.String title)
          Used to set the title of the video
 void setWriters(java.util.List<java.lang.String> writers)
          Used to set a list of writers for the video
 

Method Detail

getTitle

java.lang.String getTitle()
Used to get the video title.

Returns:
The video title.

setTitle

void setTitle(java.lang.String title)
Used to set the title of the video

Parameters:
title - The title of the video

getDirectors

java.util.List<java.lang.String> getDirectors()
Used to get a list of directors for the video

Returns:
A list of directors for the video

setDirectors

void setDirectors(java.util.List<java.lang.String> directors)
Used to set a list of directors for the episode

Parameters:
directors - The list of directors for the episode

getWriters

java.util.List<java.lang.String> getWriters()
Used to get a list of writers for the video

Returns:
Get a list of writers for the video

setWriters

void setWriters(java.util.List<java.lang.String> writers)
Used to set a list of writers for the video

Parameters:
writers - The list of writers

getSummary

java.lang.String getSummary()
Used to get a summary of the video

Returns:
The summary of the video

setSummary

void setSummary(java.lang.String summary)
Used to set the films summary

Parameters:
summary - The films summary

getFiles

java.util.Collection<IVideoFile> getFiles()
Used to get a list of files that belong to the video entry

Returns:
The list of files

setFiles

void setFiles(java.util.Collection<IVideoFile> videoFiles)
Used to set the list of files that belong to the video entry

Parameters:
videoFiles - The list of files