
@Entity(name="CountryElement") public class CountryElement extends Object implements Serializable, com.hack23.cia.model.common.api.ModelObject, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="iso2Code" type="{http://www.w3.org/2001/XMLSchema}string" form="qualified"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string" form="qualified"/>
<element name="region" form="qualified">
<complexType>
<simpleContent>
<extension base="<http://countries.worldbank.external.model.cia.hack23.com/impl>RegionCategory">
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}token" />
</extension>
</simpleContent>
</complexType>
</element>
<element name="adminregion" form="qualified">
<complexType>
<simpleContent>
<extension base="<http://countries.worldbank.external.model.cia.hack23.com/impl>AdminRegionCategory">
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}token" />
</extension>
</simpleContent>
</complexType>
</element>
<element name="incomeLevel" form="qualified">
<complexType>
<simpleContent>
<extension base="<http://countries.worldbank.external.model.cia.hack23.com/impl>IncomeLevelCategory">
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}token" />
</extension>
</simpleContent>
</complexType>
</element>
<element name="lendingType" form="qualified">
<complexType>
<simpleContent>
<extension base="<http://countries.worldbank.external.model.cia.hack23.com/impl>LendingTypeCategory">
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}token" />
</extension>
</simpleContent>
</complexType>
</element>
<element name="capitalCity" type="{http://www.w3.org/2001/XMLSchema}string" form="qualified"/>
<element name="longitude" type="{http://www.w3.org/2001/XMLSchema}string" form="qualified"/>
<element name="latitude" type="{http://www.w3.org/2001/XMLSchema}string" form="qualified"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Adminregion |
adminregion |
protected String |
capitalCity |
protected String |
countryName |
protected Long |
hjid |
protected String |
id |
protected IncomeLevel |
incomeLevel |
protected String |
iso2Code |
protected String |
latitude |
protected LendingType |
lendingType |
protected String |
longitude |
protected Region |
region |
| Constructor and Description |
|---|
CountryElement() |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
Adminregion |
getAdminregion()
Gets the value of the adminregion property.
|
String |
getCapitalCity()
Gets the value of the capitalCity property.
|
String |
getCountryName()
Gets the value of the countryName property.
|
Long |
getHjid()
Gets the value of the hjid property.
|
String |
getId()
Gets the value of the id property.
|
IncomeLevel |
getIncomeLevel()
Gets the value of the incomeLevel property.
|
String |
getIso2Code()
Gets the value of the iso2Code property.
|
String |
getLatitude()
Gets the value of the latitude property.
|
LendingType |
getLendingType()
Gets the value of the lendingType property.
|
String |
getLongitude()
Gets the value of the longitude property.
|
Region |
getRegion()
Gets the value of the region property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAdminregion(Adminregion value)
Sets the value of the adminregion property.
|
void |
setCapitalCity(String value)
Sets the value of the capitalCity property.
|
void |
setCountryName(String value)
Sets the value of the countryName property.
|
void |
setHjid(Long value)
Sets the value of the hjid property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setIncomeLevel(IncomeLevel value)
Sets the value of the incomeLevel property.
|
void |
setIso2Code(String value)
Sets the value of the iso2Code property.
|
void |
setLatitude(String value)
Sets the value of the latitude property.
|
void |
setLendingType(LendingType value)
Sets the value of the lendingType property.
|
void |
setLongitude(String value)
Sets the value of the longitude property.
|
void |
setRegion(Region value)
Sets the value of the region property.
|
String |
toString() |
CountryElement |
withAdminregion(Adminregion value) |
CountryElement |
withCapitalCity(String value) |
CountryElement |
withCountryName(String value) |
CountryElement |
withId(String value) |
CountryElement |
withIncomeLevel(IncomeLevel value) |
CountryElement |
withIso2Code(String value) |
CountryElement |
withLatitude(String value) |
CountryElement |
withLendingType(LendingType value) |
CountryElement |
withLongitude(String value) |
CountryElement |
withRegion(Region value) |
protected String iso2Code
protected String countryName
protected Region region
protected Adminregion adminregion
protected IncomeLevel incomeLevel
protected LendingType lendingType
protected String capitalCity
protected String longitude
protected String latitude
protected String id
protected Long hjid
public String getIso2Code()
Stringpublic void setIso2Code(String value)
value - allowed object is
Stringpublic String getCountryName()
Stringpublic void setCountryName(String value)
value - allowed object is
Stringpublic Region getRegion()
Regionpublic void setRegion(Region value)
value - allowed object is
Regionpublic Adminregion getAdminregion()
Adminregionpublic void setAdminregion(Adminregion value)
value - allowed object is
Adminregionpublic IncomeLevel getIncomeLevel()
IncomeLevelpublic void setIncomeLevel(IncomeLevel value)
value - allowed object is
IncomeLevelpublic LendingType getLendingType()
LendingTypepublic void setLendingType(LendingType value)
value - allowed object is
LendingTypepublic String getCapitalCity()
Stringpublic void setCapitalCity(String value)
value - allowed object is
Stringpublic String getLongitude()
Stringpublic void setLongitude(String value)
value - allowed object is
Stringpublic String getLatitude()
Stringpublic void setLatitude(String value)
value - allowed object is
Stringpublic void setId(String value)
value - allowed object is
Stringpublic CountryElement withIso2Code(String value)
public CountryElement withCountryName(String value)
public CountryElement withRegion(Region value)
public CountryElement withAdminregion(Adminregion value)
public CountryElement withIncomeLevel(IncomeLevel value)
public CountryElement withLendingType(LendingType value)
public CountryElement withCapitalCity(String value)
public CountryElement withLongitude(String value)
public CountryElement withLatitude(String value)
public CountryElement withId(String value)
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic void setHjid(Long value)
value - allowed object is
Longpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodeCopyright © 2010–2017 www.hack23.com. All rights reserved.