Class CountriesElement
- java.lang.Object
-
- com.hack23.cia.model.external.worldbank.countries.impl.CountriesElement
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Entity(name="CountriesElement") public class CountriesElement extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
The Class CountriesElement.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<CountryElement>
country
The country.protected java.lang.Long
hjid
The hjid.protected java.math.BigInteger
page
The page.protected java.math.BigInteger
pages
The pages.protected java.math.BigInteger
perPage
The per page.protected java.math.BigInteger
total
The total.
-
Constructor Summary
Constructors Constructor Description CountriesElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.List<CountryElement>
getCountry()
Gets the country.java.lang.Long
getHjid()
Gets the hjid.java.math.BigInteger
getPage()
Gets the page.java.math.BigInteger
getPages()
Gets the pages.java.math.BigInteger
getPerPage()
Gets the per page.java.math.BigInteger
getTotal()
Gets the total.int
hashCode()
void
setCountry(java.util.List<CountryElement> country)
Sets the country.void
setHjid(java.lang.Long value)
Sets the hjid.void
setPage(java.math.BigInteger value)
Sets the page.void
setPages(java.math.BigInteger value)
Sets the pages.void
setPerPage(java.math.BigInteger value)
Sets the per page.void
setTotal(java.math.BigInteger value)
Sets the total.java.lang.String
toString()
CountriesElement
withCountry(java.util.List<CountryElement> country)
With country.CountriesElement
withPage(java.math.BigInteger value)
With page.CountriesElement
withPages(java.math.BigInteger value)
With pages.CountriesElement
withPerPage(java.math.BigInteger value)
With per page.CountriesElement
withTotal(java.math.BigInteger value)
With total.
-
-
-
Field Detail
-
country
protected java.util.List<CountryElement> country
The country.
-
page
protected java.math.BigInteger page
The page.
-
pages
protected java.math.BigInteger pages
The pages.
-
perPage
protected java.math.BigInteger perPage
The per page.
-
total
protected java.math.BigInteger total
The total.
-
hjid
protected java.lang.Long hjid
The hjid.
-
-
Method Detail
-
getCountry
public java.util.List<CountryElement> getCountry()
Gets the country.- Returns:
- the country
-
setCountry
public void setCountry(java.util.List<CountryElement> country)
Sets the country.- Parameters:
country
- the new country
-
getPage
public java.math.BigInteger getPage()
Gets the page.- Returns:
- the page
-
setPage
public void setPage(java.math.BigInteger value)
Sets the page.- Parameters:
value
- the new page
-
getPages
public java.math.BigInteger getPages()
Gets the pages.- Returns:
- the pages
-
setPages
public void setPages(java.math.BigInteger value)
Sets the pages.- Parameters:
value
- the new pages
-
getPerPage
public java.math.BigInteger getPerPage()
Gets the per page.- Returns:
- the per page
-
setPerPage
public void setPerPage(java.math.BigInteger value)
Sets the per page.- Parameters:
value
- the new per page
-
getTotal
public java.math.BigInteger getTotal()
Gets the total.- Returns:
- the total
-
setTotal
public void setTotal(java.math.BigInteger value)
Sets the total.- Parameters:
value
- the new total
-
withCountry
public CountriesElement withCountry(java.util.List<CountryElement> country)
With country.- Parameters:
country
- the country- Returns:
- the countries element
-
withPage
public CountriesElement withPage(java.math.BigInteger value)
With page.- Parameters:
value
- the value- Returns:
- the countries element
-
withPages
public CountriesElement withPages(java.math.BigInteger value)
With pages.- Parameters:
value
- the value- Returns:
- the countries element
-
withPerPage
public CountriesElement withPerPage(java.math.BigInteger value)
With per page.- Parameters:
value
- the value- Returns:
- the countries element
-
withTotal
public CountriesElement withTotal(java.math.BigInteger value)
With total.- Parameters:
value
- the value- Returns:
- the countries element
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getHjid
public java.lang.Long getHjid()
Gets the hjid.- Returns:
- the hjid
-
setHjid
public void setHjid(java.lang.Long value)
Sets the hjid.- Parameters:
value
- the new hjid
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-