Package com.sportdataapi.data
Class Round
java.lang.Object
com.sportdataapi.data.Round
public class Round
extends java.lang.Object
Round object for Sportdataapi.com.
- Author:
- ralph
-
Constructor Summary
Constructors Constructor Description Round()
Constructor. -
Method Summary
Modifier and Type Method Description int
getId()
Returns the id.int
getLeague()
Returns the league.java.lang.String
getLeagueName()
Returns the leagueName.java.lang.String
getName()
Returns the name.int
getSeason()
Returns the season.boolean
isCurrent()
Returns the current.void
setCurrent(boolean current)
Sets the current.void
setId(int id)
Sets the id.void
setLeague(int league)
Sets the league.void
setLeagueName(java.lang.String leagueName)
Sets the leagueName.void
setName(java.lang.String name)
Sets the name.void
setSeason(int season)
Sets the season.java.lang.String
toString()
-
Constructor Details
-
Round
public Round()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
-
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
-
getSeason
public int getSeason()Returns the season.- Returns:
- the season
-
setSeason
public void setSeason(int season)Sets the season.- Parameters:
season
- the season 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
-
getLeagueName
public java.lang.String getLeagueName()Returns the leagueName.- Returns:
- the leagueName
-
setLeagueName
public void setLeagueName(java.lang.String leagueName)Sets the leagueName.- Parameters:
leagueName
- the leagueName to set
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-