|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.stanwood.media.model.Episode
public class Episode
This is used to store episode information
Constructor Summary | |
---|---|
Episode(int episodeNumber,
ISeason season,
boolean special)
The constructor used to create a episode instance |
Method Summary | |
---|---|
java.util.List<Actor> |
getActors()
Used to get a list of actors in the episode |
java.util.Date |
getDate()
Gets the first air date of the episode |
java.util.List<java.lang.String> |
getDirectors()
Used to get a list of directors for 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.util.SortedSet<IVideoFile> |
getFiles()
Used to get a list of files that belong to the video entry |
java.net.URL |
getImageURL()
Used to get a URL which points to a image of the episode |
Rating |
getRating()
Used to get the episode rating |
ISeason |
getSeason()
Get the season the episode belongs too |
java.lang.String |
getSummary()
Get a summary of the episode |
java.lang.String |
getTitle()
Gets the title of the show |
java.net.URL |
getUrl()
Used to get the URL used to get a summary of the show |
java.util.List<java.lang.String> |
getWriters()
Used to get a list of writers for the episode |
boolean |
isSpecial()
Used to find out if this is a special |
void |
setActors(java.util.List<Actor> actors)
Used to set a list of actors in the episode |
void |
setDate(java.util.Date airDate)
Sets the air date of the show |
void |
setDirectors(java.util.List<java.lang.String> directors)
Used to set a list of directors for the episode |
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 |
setFiles(java.util.Collection<IVideoFile> videoFiles)
Used to set the list of files that belong to the video entry |
void |
setImageURL(java.net.URL imageURL)
Used to set a URL which points too a image of the episode |
void |
setRating(Rating rating)
Used to set the episode rating |
void |
setSummary(java.lang.String summary)
Sets the summary of the episode |
void |
setTitle(java.lang.String title)
Sets the title of the episode |
void |
setUrl(java.net.URL url)
Used to set the URL used to get a summary of the show |
void |
setWriters(java.util.List<java.lang.String> writers)
Used to set a list of writers for the episode |
java.lang.String |
toString()
Returns a string summary of this classes contents. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Episode(int episodeNumber, ISeason season, boolean special)
episodeNumber
- The number of the episode within the seasonseason
- The season it belongs toospecial
- Is this episode a specialMethod Detail |
---|
public ISeason getSeason()
getSeason
in interface IEpisode
public int getEpisodeNumber()
getEpisodeNumber
in interface IEpisode
public void setEpisodeNumber(int episodeNumner)
setEpisodeNumber
in interface IEpisode
episodeNumner
- public java.lang.String getSummary()
getSummary
in interface IVideo
public void setSummary(java.lang.String summary)
setSummary
in interface IVideo
summary
- The summary of the episodepublic void setTitle(java.lang.String title)
setTitle
in interface IVideo
title
- The title of the episodepublic void setDate(java.util.Date airDate)
setDate
in interface IEpisode
airDate
- The air date of the showpublic java.lang.String getTitle()
getTitle
in interface IVideo
public boolean isSpecial()
isSpecial
in interface IEpisode
public java.util.Date getDate()
getDate
in interface IEpisode
public void setUrl(java.net.URL url)
setUrl
in interface IEpisode
url
- The summary URLpublic java.net.URL getUrl()
getUrl
in interface IEpisode
public java.lang.String getEpisodeId()
getEpisodeId
in interface IEpisode
public void setEpisodeId(java.lang.String episodeId)
setEpisodeId
in interface IEpisode
episodeId
- The numeric unique episode id used by the sourcepublic java.util.List<Actor> getActors()
getActors
in interface IVideoActors
public void setActors(java.util.List<Actor> actors)
setActors
in interface IVideoActors
actors
- A list of actors in the episodepublic java.util.List<java.lang.String> getDirectors()
getDirectors
in interface IVideo
public void setDirectors(java.util.List<java.lang.String> directors)
setDirectors
in interface IVideo
directors
- The list of directors for the episodepublic java.util.List<java.lang.String> getWriters()
getWriters
in interface IVideo
public void setWriters(java.util.List<java.lang.String> writers)
setWriters
in interface IVideo
writers
- The list of writerspublic Rating getRating()
getRating
in interface IVideoRating
public void setRating(Rating rating)
setRating
in interface IVideoRating
rating
- The episode ratingpublic java.net.URL getImageURL()
getImageURL
in interface IEpisode
public void setImageURL(java.net.URL imageURL)
setImageURL
in interface IEpisode
imageURL
- A URL which points too a image of the episodepublic java.lang.String toString()
toString
in class java.lang.Object
public java.util.SortedSet<IVideoFile> getFiles()
getFiles
in interface IVideo
public void setFiles(java.util.Collection<IVideoFile> videoFiles)
setFiles
in interface IVideo
videoFiles
- The list of files
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |