Package com.sportdataapi.data
Class Season
java.lang.Object
com.sportdataapi.data.Season
public class Season
extends java.lang.Object
Season object for Sportdataapi.com.
- Author:
- ralph
-
Constructor Summary
Constructors Constructor Description Season()
Constructor. -
Method Summary
Modifier and Type Method Description int
getCountry()
Returns the country.RsDay
getEnd()
Returns the end.int
getId()
Returns the id.int
getLeague()
Returns the league.java.lang.String
getName()
Returns the name.RsDay
getStart()
Returns the start.boolean
isCurrent()
Returns the current.void
setCountry(int country)
Sets the country.void
setCurrent(boolean current)
Sets the current.void
setEnd(RsDay end)
Sets the end.void
setId(int id)
Sets the id.void
setLeague(int league)
Sets the league.void
setName(java.lang.String name)
Sets the name.void
setStart(RsDay start)
Sets the start.java.lang.String
toString()
-
Constructor Details
-
Season
public Season()Constructor.
-
-
Method Details
-
getId
public int getId()Returns the id.- Returns:
- the id
-
setId
public void setId(int id)Sets the id.- Parameters:
id
- - the id to set
-
getName
public java.lang.String getName()Returns the name.- Returns:
- the name
-
setName
public void setName(java.lang.String name)Sets the name.- Parameters:
name
- - the name to set
-
isCurrent
public boolean isCurrent()Returns the current.- Returns:
- the current
-
setCurrent
public void setCurrent(boolean current)Sets the current.- Parameters:
current
- - the current to set
-
getCountry
public int getCountry()Returns the country.- Returns:
- the country
-
setCountry
public void setCountry(int country)Sets the country.- Parameters:
country
- - the country to set
-
getLeague
public int getLeague()Returns the league.- Returns:
- the league
-
setLeague
public void setLeague(int league)Sets the league.- Parameters:
league
- - the league to set
-
getStart
Returns the start.- Returns:
- the start
-
setStart
Sets the start.- Parameters:
start
- - the start to set
-
getEnd
Returns the end.- Returns:
- the end
-
setEnd
Sets the end.- Parameters:
end
- - the end to set
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-