|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectMovieLibrary.VideoObject
MovieLibrary.SeriesObject
public class SeriesObject
Series object used to store information about TV shows
| Field Summary | |
|---|---|
static int |
ENDED
tv show status show ended |
static int |
NEW
tv show status new show |
static int |
NOT_SPECIFIED
tv show status not specified |
static int |
RETURNING
tv show status returning show |
| Fields inherited from class MovieLibrary.VideoObject |
|---|
CLIP, MOVIE, MUSIC_VIDEO, NO_OF_VIDEO_TYPES, SERIES |
| Constructor Summary | |
|---|---|
SeriesObject(int requiredVideoID,
java.io.File requiredFilePath,
java.lang.String requiredEpisodeName,
int requiredEpisodeNo,
java.lang.String requiredSeriesName,
int requiredSeasonNo)
TV show constructor creates a tv show object. many tv show objects in a series. creates a new tv show object from supplied arguments. |
|
SeriesObject(SeriesObject reqSerie)
TV show constructor creates a tv show object. many tv show objects in a series. creates a new tv show object from given tv show object. |
|
| Method Summary | |
|---|---|
java.util.ArrayList<java.lang.String> |
getActors()
get actors |
java.lang.String |
getActorsString()
gets the actors string version |
java.util.ArrayList<java.lang.String> |
getCreators()
get creators |
java.lang.String |
getCreatorsString()
gets the creators string version |
java.lang.String |
getEpisodeName()
get the episode name of this video file (episode) |
int |
getEpisodeNo()
get the episode number of this video file (episode) |
int |
getNoOfSeasons()
get the number of seasons so far for this tv show |
int |
getReleaseDate()
get the start date of this tv show |
int |
getSeasonNo()
get the season number of this video file (episode) |
java.lang.String |
getSeriesName()
get the name of the tv show this video file (episode) belongs to |
int |
getSeriesStatus()
get the status of this tv show |
static java.lang.String |
getStringSeriesCategory(int intSeriesCategory)
get the string description of the given tv show genre |
void |
setActors(java.util.ArrayList<java.lang.String> reqActors)
set actors |
void |
setActors(java.lang.String reqActors)
set actors with given creators |
void |
setCreators(java.lang.String reqCreators)
set creators with given creators |
void |
setEpisodeName(java.lang.String requiredEpisodeName)
set the episode name of this video file (episode) |
void |
setEpisodeNo(int requiredEpisodeNo)
set the episode number of this video file (episode) |
void |
setNoOfSeasons(int requiredNoOfSeasons)
set the current number of season in this tv show |
void |
setReleaseDate(int reqReleaseDate)
set the start date of this tv show |
void |
setSeasonNo(int requiredSeasonNo)
set the season number of this video file (episode) |
void |
setSeriesName(java.lang.String requiredSeriesName)
set the name of the tv show this video file (episode) belongs to |
void |
setSeriesStatus(int requiredSeriesStatus)
set the series status of the tv show this video file (episode) belongs to |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int NOT_SPECIFIED
public static final int NEW
public static final int ENDED
public static final int RETURNING
| Constructor Detail |
|---|
public SeriesObject(int requiredVideoID,
java.io.File requiredFilePath,
java.lang.String requiredEpisodeName,
int requiredEpisodeNo,
java.lang.String requiredSeriesName,
int requiredSeasonNo)
requiredVideoID - unique ID to give to this tv showrequiredFilePath - file path of the video filerequiredEpisodeName - episode name of the video filerequiredEpisodeNo - episode number of the video filerequiredSeriesName - tv show name for the video filerequiredSeasonNo - season number of the video filepublic SeriesObject(SeriesObject reqSerie)
reqSerie - tv show object to copy into new tv show object| Method Detail |
|---|
public void setEpisodeNo(int requiredEpisodeNo)
requiredEpisodeNo - episode number of this video file (episode)public void setEpisodeName(java.lang.String requiredEpisodeName)
requiredEpisodeName - episode name of this video file (episode)public int getEpisodeNo()
public java.lang.String getEpisodeName()
public void setSeasonNo(int requiredSeasonNo)
requiredSeasonNo - the season number of this video file (episode)public int getSeasonNo()
public void setSeriesName(java.lang.String requiredSeriesName)
requiredSeriesName - name of tv show this video file (episode) belongs topublic void setSeriesStatus(int requiredSeriesStatus)
requiredSeriesStatus - the series name of the tv show this video file (episode) belongs topublic void setNoOfSeasons(int requiredNoOfSeasons)
requiredNoOfSeasons - the current number of season in this tv showpublic java.lang.String getSeriesName()
public int getSeriesStatus()
public int getNoOfSeasons()
public static java.lang.String getStringSeriesCategory(int intSeriesCategory)
intSeriesCategory - tv show genre to get the string description for
public int getReleaseDate()
public void setReleaseDate(int reqReleaseDate)
reqReleaseDate - start date of this tv showpublic void setActors(java.util.ArrayList<java.lang.String> reqActors)
reqActors - actors to be setpublic void setActors(java.lang.String reqActors)
reqActors - creators to be set as series actorspublic void setCreators(java.lang.String reqCreators)
reqCreators - creators to be set as series creatorspublic java.util.ArrayList<java.lang.String> getActors()
public java.lang.String getActorsString()
public java.util.ArrayList<java.lang.String> getCreators()
public java.lang.String getCreatorsString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||