public class Season extends java.lang.Object implements ISeason
Constructor and Description |
---|
Season()
The constructor
|
Season(IShow show,
int seasonNumber)
The constructor used to create a instance of the season.
|
Modifier and Type | Method and Description |
---|---|
java.net.URL |
getImageURL()
Used to get a URL which points too a image of the season
|
int |
getSeasonNumber()
Get the number of the season
|
IShow |
getShow()
Get the show the season belongs too
|
java.net.URL |
getURL()
Used to get the episode listing URL for the season
|
void |
setImageURL(java.net.URL imageURL)
Used to set a URL which points too a image of the season
|
void |
setSeasonNumber(int seasonNumber)
Used to set the season number
|
void |
setShow(IShow show)
Used to set the show
|
void |
setURL(java.net.URL url)
Sets the episode listing URL for the season
|
public Season()
public Season(IShow show, int seasonNumber)
show
- The show the season belongs tooseasonNumber
- The season numberpublic java.net.URL getURL()
public void setURL(java.net.URL url)
public int getSeasonNumber()
getSeasonNumber
in interface ISeason
public void setSeasonNumber(int seasonNumber)
setSeasonNumber
in interface ISeason
seasonNumber
- the season numberpublic java.net.URL getImageURL()
getImageURL
in interface ISeason
public void setImageURL(java.net.URL imageURL)
setImageURL
in interface ISeason
imageURL
- A URL which points too a image of the seasonpublic IShow getShow()
public void setShow(IShow show)
show
- the show