org.stanwood.media.source.xbmc
Class XBMCEpisode

java.lang.Object
  extended by org.stanwood.media.model.Episode
      extended by org.stanwood.media.source.xbmc.XBMCEpisode
All Implemented Interfaces:
IEpisode, IVideo, IVideoActors, IVideoRating

public class XBMCEpisode
extends Episode

The episode type been returned by XBMC addons


Constructor Summary
XBMCEpisode(int episodeNumber, ISeason season, boolean special)
          The constructor
 
Method Summary
 java.lang.Integer getDisplayEpisode()
          Get the display episode number
 java.lang.Integer getDisplaySeason()
          Used to get the display season
 ISeason getSeason()
          Get the season the episode belongs too
 boolean isSpecial()
          Used to find out if this is a special
 void setDisplayEpisode(java.lang.Integer displayEpisode)
          Used to set the display episode number
 void setDisplaySeason(java.lang.Integer displaySeason)
          Used to set the display season
 void setSeason(ISeason season)
          Used to set the season of the episode
 void setSpecial(boolean special)
          Used to mark this episode as a special
 
Methods inherited from class org.stanwood.media.model.Episode
getActors, getDate, getDirectors, getEpisodeId, getEpisodeNumber, getFiles, getImageURL, getRating, getSummary, getTitle, getUrl, getWriters, setActors, setDate, setDirectors, setEpisodeId, setEpisodeNumber, setFiles, setImageURL, setRating, setSummary, setTitle, setUrl, setWriters, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XBMCEpisode

public XBMCEpisode(int episodeNumber,
                   ISeason season,
                   boolean special)
The constructor

Parameters:
episodeNumber - The episode number
season - The season the episode belongs to
special - Is this a special episode
Method Detail

getDisplaySeason

public java.lang.Integer getDisplaySeason()
Used to get the display season

Returns:
the display season

setDisplaySeason

public void setDisplaySeason(java.lang.Integer displaySeason)
Used to set the display season

Parameters:
displaySeason - the display season

getDisplayEpisode

public java.lang.Integer getDisplayEpisode()
Get the display episode number

Returns:
The display episode number

setDisplayEpisode

public void setDisplayEpisode(java.lang.Integer displayEpisode)
Used to set the display episode number

Parameters:
displayEpisode - The display episode number

isSpecial

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

Specified by:
isSpecial in interface IEpisode
Overrides:
isSpecial in class Episode
Returns:
True if special, otherwise false

setSeason

public void setSeason(ISeason season)
Used to set the season of the episode

Parameters:
season - the season of the episode

getSeason

public ISeason getSeason()
Get the season the episode belongs too

Specified by:
getSeason in interface IEpisode
Overrides:
getSeason in class Episode
Returns:
The season the episode belongs too

setSpecial

public void setSpecial(boolean special)
Used to mark this episode as a special

Parameters:
special - if true, then mark this episode as special