org.stanwood.media.model
Interface IEpisode

All Superinterfaces:
IVideo, IVideoActors, IVideoRating
All Known Implementing Classes:
Episode, XBMCEpisode, XMLEpisode

public interface IEpisode
extends IVideo, IVideoActors, IVideoRating

A base interface for all episodes


Method Summary
 java.util.Date getDate()
          Gets the first air date of the episode
 java.lang.String getEpisodeId()
          Used to get the numeric unique episode id used by the source
 int getEpisodeNumber()
          Gets the number of the episode.
 java.net.URL getImageURL()
          Used to get a URL which points to a image of the episode
 ISeason getSeason()
          Get the season the episode belongs too
 java.net.URL getUrl()
          Used to get the URL used to get a summary of the show
 boolean isSpecial()
          Used to find out if this is a special
 void setDate(java.util.Date airDate)
          Sets the air date of the show
 void setEpisodeId(java.lang.String episodeId)
          Used to set the numeric unique episode id used by the source
 void setEpisodeNumber(int episodeNumner)
          Sets the number of the episode.
 void setImageURL(java.net.URL imageURL)
          Used to set a URL which points too a image of the episode
 void setUrl(java.net.URL url)
          Used to set the URL used to get a summary of the show
 
Methods inherited from interface org.stanwood.media.model.IVideo
getDirectors, getFiles, getSummary, getTitle, getWriters, setDirectors, setFiles, setSummary, setTitle, setWriters
 
Methods inherited from interface org.stanwood.media.model.IVideoActors
getActors, setActors
 
Methods inherited from interface org.stanwood.media.model.IVideoRating
getRating, setRating
 

Method Detail

getSeason

ISeason getSeason()
Get the season the episode belongs too

Returns:
The season the episode belongs too

getEpisodeNumber

int getEpisodeNumber()
Gets the number of the episode.

Returns:
The number of the episode

setEpisodeNumber

void setEpisodeNumber(int episodeNumner)
Sets the number of the episode.

Parameters:
episodeNumner -

setDate

void setDate(java.util.Date airDate)
Sets the air date of the show

Parameters:
airDate - The air date of the show

isSpecial

boolean isSpecial()
Used to find out if this is a special

Returns:
True if special, otherwise false

getDate

java.util.Date getDate()
Gets the first air date of the episode

Returns:
The first air date of the episode

setUrl

void setUrl(java.net.URL url)
Used to set the URL used to get a summary of the show

Parameters:
url - The summary URL

getUrl

java.net.URL getUrl()
Used to get the URL used to get a summary of the show

Returns:
The summary URL

getEpisodeId

java.lang.String getEpisodeId()
Used to get the numeric unique episode id used by the source

Returns:
the numeric unique episode id used by the source

setEpisodeId

void setEpisodeId(java.lang.String episodeId)
Used to set the numeric unique episode id used by the source

Parameters:
episodeId - The numeric unique episode id used by the source

getImageURL

java.net.URL getImageURL()
Used to get a URL which points to a image of the episode

Returns:
A URL which points too a image of the episode

setImageURL

void setImageURL(java.net.URL imageURL)
Used to set a URL which points too a image of the episode

Parameters:
imageURL - A URL which points too a image of the episode