|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.model.external.worldbank.countries.impl.CountryElement
@Entity(name="CountryElement") public class CountryElement
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="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>
Field Summary | |
---|---|
protected String |
capitalCity
|
protected Long |
hjid
|
protected String |
id
|
protected IncomeLevel |
incomeLevel
|
protected String |
iso2Code
|
protected String |
latitude
|
protected LendingType |
lendingType
|
protected String |
longitude
|
protected String |
name
|
protected Region |
region
|
Constructor Summary | |
---|---|
CountryElement()
|
Method Summary | |
---|---|
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)
|
String |
getCapitalCity()
Gets the value of the capitalCity 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. |
String |
getName()
Gets the value of the name 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 |
setCapitalCity(String value)
Sets the value of the capitalCity 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 |
setName(String value)
Sets the value of the name property. |
void |
setRegion(Region value)
Sets the value of the region property. |
CountryElement |
withCapitalCity(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 |
withName(String value)
|
CountryElement |
withRegion(Region value)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String iso2Code
protected String name
protected Region region
protected IncomeLevel incomeLevel
protected LendingType lendingType
protected String capitalCity
protected String longitude
protected String latitude
protected String id
protected Long hjid
Constructor Detail |
---|
public CountryElement()
Method Detail |
---|
public String getIso2Code()
String
public void setIso2Code(String value)
value
- allowed object is
String
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public Region getRegion()
Region
public void setRegion(Region value)
value
- allowed object is
Region
public IncomeLevel getIncomeLevel()
IncomeLevel
public void setIncomeLevel(IncomeLevel value)
value
- allowed object is
IncomeLevel
public LendingType getLendingType()
LendingType
public void setLendingType(LendingType value)
value
- allowed object is
LendingType
public String getCapitalCity()
String
public void setCapitalCity(String value)
value
- allowed object is
String
public String getLongitude()
String
public void setLongitude(String value)
value
- allowed object is
String
public String getLatitude()
String
public void setLatitude(String value)
value
- allowed object is
String
public String getId()
String
public void setId(String value)
value
- allowed object is
String
public CountryElement withIso2Code(String value)
public CountryElement withName(String value)
public CountryElement withRegion(Region 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 Long getHjid()
Long
public void setHjid(Long value)
value
- allowed object is
Long
public 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.Equals
public boolean equals(Object object)
equals
in class Object
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |