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.ModelObjectThe Class CountriesElement.- See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected java.util.List<CountryElement>countryThe country.protected java.lang.LonghjidThe hjid.protected java.math.BigIntegerpageThe page.protected java.math.BigIntegerpagesThe pages.protected java.math.BigIntegerperPageThe per page.protected java.math.BigIntegertotalThe total. 
- 
Constructor Summary
Constructors Constructor Description CountriesElement() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.List<CountryElement>getCountry()Gets the country.java.lang.LonggetHjid()Gets the hjid.java.math.BigIntegergetPage()Gets the page.java.math.BigIntegergetPages()Gets the pages.java.math.BigIntegergetPerPage()Gets the per page.java.math.BigIntegergetTotal()Gets the total.inthashCode()voidsetCountry(java.util.List<CountryElement> country)Sets the country.voidsetHjid(java.lang.Long value)Sets the hjid.voidsetPage(java.math.BigInteger value)Sets the page.voidsetPages(java.math.BigInteger value)Sets the pages.voidsetPerPage(java.math.BigInteger value)Sets the per page.voidsetTotal(java.math.BigInteger value)Sets the total.java.lang.StringtoString()CountriesElementwithCountry(java.util.List<CountryElement> country)With country.CountriesElementwithPage(java.math.BigInteger value)With page.CountriesElementwithPages(java.math.BigInteger value)With pages.CountriesElementwithPerPage(java.math.BigInteger value)With per page.CountriesElementwithTotal(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:
 hashCodein classjava.lang.Object
 
- 
toString
public final java.lang.String toString()
- Overrides:
 toStringin 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:
 equalsin classjava.lang.Object
 
 - 
 
 -