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
getLeagueId()
Returns the leagueId.java.lang.String
getLeagueName()
Returns the leagueName.java.lang.String
getName()
Returns the name.int
getSeasonId()
Returns the seasonId.boolean
isCurrent()
Returns the current.void
setCurrent(boolean current)
Sets the current.void
setId(int id)
Sets the id.void
setLeagueId(int leagueId)
Sets the leagueId.void
setLeagueName(java.lang.String leagueName)
Sets the leagueName.void
setName(java.lang.String name)
Sets the name.void
setSeasonId(int seasonId)
Sets the seasonId.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
-
getLeagueId
public int getLeagueId()Returns the leagueId.- Returns:
- the leagueId
-
setLeagueId
public void setLeagueId(int leagueId)Sets the leagueId.- Parameters:
leagueId
- the leagueId to set
-
getSeasonId
public int getSeasonId()Returns the seasonId.- Returns:
- the seasonId
-
setSeasonId
public void setSeasonId(int seasonId)Sets the seasonId.- Parameters:
seasonId
- the seasonId 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
-