Package com.sportdataapi.data
Class Venue
java.lang.Object
com.sportdataapi.data.Venue
public class Venue
extends java.lang.Object
Venue object for Sportdataapi.com.
- Author:
- ralph
-
Constructor Summary
Constructors Constructor Description Venue()
Constructor. -
Method Summary
Modifier and Type Method Description int
getCapacity()
Returns the capacity.java.lang.String
getCity()
Returns the city.Country
getCountry()
Returns the country.int
getCountryId()
Returns the country.int
getId()
Returns the id.java.lang.String
getName()
Returns the name.void
setCapacity(int capacity)
Sets the capacity.void
setCity(java.lang.String city)
Sets the city.void
setCountry(Country country)
Sets the country.void
setCountryId(int countryId)
Sets the country.void
setId(int id)
Sets the id.void
setName(java.lang.String name)
Sets the name.java.lang.String
toString()
-
Constructor Details
-
Venue
public Venue()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
-
getCapacity
public int getCapacity()Returns the capacity.- Returns:
- the capacity
-
setCapacity
public void setCapacity(int capacity)Sets the capacity.- Parameters:
capacity
- the capacity to set
-
getCity
public java.lang.String getCity()Returns the city.- Returns:
- the city
-
setCity
public void setCity(java.lang.String city)Sets the city.- Parameters:
city
- the city to set
-
getCountryId
public int getCountryId()Returns the country.- Returns:
- the country
-
setCountryId
public void setCountryId(int countryId)Sets the country.- Parameters:
countryId
- the country to set
-
getCountry
Returns the country.- Returns:
- the country
-
setCountry
Sets the country.- Parameters:
country
- the country to set
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-