|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.stanwood.media.model.Episode
org.stanwood.media.source.xbmc.XBMCEpisode
public class XBMCEpisode
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 |
---|
public XBMCEpisode(int episodeNumber, ISeason season, boolean special)
episodeNumber
- The episode numberseason
- The season the episode belongs tospecial
- Is this a special episodeMethod Detail |
---|
public java.lang.Integer getDisplaySeason()
public void setDisplaySeason(java.lang.Integer displaySeason)
displaySeason
- the display seasonpublic java.lang.Integer getDisplayEpisode()
public void setDisplayEpisode(java.lang.Integer displayEpisode)
displayEpisode
- The display episode numberpublic boolean isSpecial()
isSpecial
in interface IEpisode
isSpecial
in class Episode
public void setSeason(ISeason season)
season
- the season of the episodepublic ISeason getSeason()
getSeason
in interface IEpisode
getSeason
in class Episode
public void setSpecial(boolean special)
special
- if true, then mark this episode as special
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |