Class CountryElement
- java.lang.Object
-
- com.hack23.cia.model.external.worldbank.countries.impl.CountryElement
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Entity(name="CountryElement") public class CountryElement extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
The Class CountryElement.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Adminregion
adminregion
The adminregion.protected java.lang.String
capitalCity
The capital city.protected java.lang.String
countryName
The country name.protected java.lang.Long
hjid
The hjid.protected java.lang.String
id
The id.protected IncomeLevel
incomeLevel
The income level.protected java.lang.String
iso2Code
The iso 2 code.protected java.lang.String
latitude
The latitude.protected LendingType
lendingType
The lending type.protected java.lang.String
longitude
The longitude.protected Region
region
The region.
-
Constructor Summary
Constructors Constructor Description CountryElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
Adminregion
getAdminregion()
Gets the adminregion.java.lang.String
getCapitalCity()
Gets the capital city.java.lang.String
getCountryName()
Gets the country name.java.lang.Long
getHjid()
Gets the hjid.java.lang.String
getId()
Gets the id.IncomeLevel
getIncomeLevel()
Gets the income level.java.lang.String
getIso2Code()
Gets the iso 2 code.java.lang.String
getLatitude()
Gets the latitude.LendingType
getLendingType()
Gets the lending type.java.lang.String
getLongitude()
Gets the longitude.Region
getRegion()
Gets the region.int
hashCode()
void
setAdminregion(Adminregion value)
Sets the adminregion.void
setCapitalCity(java.lang.String value)
Sets the capital city.void
setCountryName(java.lang.String value)
Sets the country name.void
setHjid(java.lang.Long value)
Sets the hjid.void
setId(java.lang.String value)
Sets the id.void
setIncomeLevel(IncomeLevel value)
Sets the income level.void
setIso2Code(java.lang.String value)
Sets the iso 2 code.void
setLatitude(java.lang.String value)
Sets the latitude.void
setLendingType(LendingType value)
Sets the lending type.void
setLongitude(java.lang.String value)
Sets the longitude.void
setRegion(Region value)
Sets the region.java.lang.String
toString()
CountryElement
withAdminregion(Adminregion value)
With adminregion.CountryElement
withCapitalCity(java.lang.String value)
With capital city.CountryElement
withCountryName(java.lang.String value)
With country name.CountryElement
withId(java.lang.String value)
With id.CountryElement
withIncomeLevel(IncomeLevel value)
With income level.CountryElement
withIso2Code(java.lang.String value)
With iso 2 code.CountryElement
withLatitude(java.lang.String value)
With latitude.CountryElement
withLendingType(LendingType value)
With lending type.CountryElement
withLongitude(java.lang.String value)
With longitude.CountryElement
withRegion(Region value)
With region.
-
-
-
Field Detail
-
iso2Code
protected java.lang.String iso2Code
The iso 2 code.
-
countryName
protected java.lang.String countryName
The country name.
-
region
protected Region region
The region.
-
adminregion
protected Adminregion adminregion
The adminregion.
-
incomeLevel
protected IncomeLevel incomeLevel
The income level.
-
lendingType
protected LendingType lendingType
The lending type.
-
capitalCity
protected java.lang.String capitalCity
The capital city.
-
longitude
protected java.lang.String longitude
The longitude.
-
latitude
protected java.lang.String latitude
The latitude.
-
id
protected java.lang.String id
The id.
-
hjid
protected java.lang.Long hjid
The hjid.
-
-
Method Detail
-
getIso2Code
public java.lang.String getIso2Code()
Gets the iso 2 code.- Returns:
- the iso 2 code
-
setIso2Code
public void setIso2Code(java.lang.String value)
Sets the iso 2 code.- Parameters:
value
- the new iso 2 code
-
getCountryName
public java.lang.String getCountryName()
Gets the country name.- Returns:
- the country name
-
setCountryName
public void setCountryName(java.lang.String value)
Sets the country name.- Parameters:
value
- the new country name
-
getRegion
public Region getRegion()
Gets the region.- Returns:
- the region
-
setRegion
public void setRegion(Region value)
Sets the region.- Parameters:
value
- the new region
-
getAdminregion
public Adminregion getAdminregion()
Gets the adminregion.- Returns:
- the adminregion
-
setAdminregion
public void setAdminregion(Adminregion value)
Sets the adminregion.- Parameters:
value
- the new adminregion
-
getIncomeLevel
public IncomeLevel getIncomeLevel()
Gets the income level.- Returns:
- the income level
-
setIncomeLevel
public void setIncomeLevel(IncomeLevel value)
Sets the income level.- Parameters:
value
- the new income level
-
getLendingType
public LendingType getLendingType()
Gets the lending type.- Returns:
- the lending type
-
setLendingType
public void setLendingType(LendingType value)
Sets the lending type.- Parameters:
value
- the new lending type
-
getCapitalCity
public java.lang.String getCapitalCity()
Gets the capital city.- Returns:
- the capital city
-
setCapitalCity
public void setCapitalCity(java.lang.String value)
Sets the capital city.- Parameters:
value
- the new capital city
-
getLongitude
public java.lang.String getLongitude()
Gets the longitude.- Returns:
- the longitude
-
setLongitude
public void setLongitude(java.lang.String value)
Sets the longitude.- Parameters:
value
- the new longitude
-
getLatitude
public java.lang.String getLatitude()
Gets the latitude.- Returns:
- the latitude
-
setLatitude
public void setLatitude(java.lang.String value)
Sets the latitude.- Parameters:
value
- the new latitude
-
getId
public java.lang.String getId()
Gets the id.- Returns:
- the id
-
setId
public void setId(java.lang.String value)
Sets the id.- Parameters:
value
- the new id
-
withIso2Code
public CountryElement withIso2Code(java.lang.String value)
With iso 2 code.- Parameters:
value
- the value- Returns:
- the country element
-
withCountryName
public CountryElement withCountryName(java.lang.String value)
With country name.- Parameters:
value
- the value- Returns:
- the country element
-
withRegion
public CountryElement withRegion(Region value)
With region.- Parameters:
value
- the value- Returns:
- the country element
-
withAdminregion
public CountryElement withAdminregion(Adminregion value)
With adminregion.- Parameters:
value
- the value- Returns:
- the country element
-
withIncomeLevel
public CountryElement withIncomeLevel(IncomeLevel value)
With income level.- Parameters:
value
- the value- Returns:
- the country element
-
withLendingType
public CountryElement withLendingType(LendingType value)
With lending type.- Parameters:
value
- the value- Returns:
- the country element
-
withCapitalCity
public CountryElement withCapitalCity(java.lang.String value)
With capital city.- Parameters:
value
- the value- Returns:
- the country element
-
withLongitude
public CountryElement withLongitude(java.lang.String value)
With longitude.- Parameters:
value
- the value- Returns:
- the country element
-
withLatitude
public CountryElement withLatitude(java.lang.String value)
With latitude.- Parameters:
value
- the value- Returns:
- the country element
-
withId
public CountryElement withId(java.lang.String value)
With id.- Parameters:
value
- the value- Returns:
- the country 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 object)
- Overrides:
equals
in classjava.lang.Object
-
-