com.hack23.cia.model.external.worldbank.countries.impl
Class CountryElement

Package class diagram package CountryElement
java.lang.Object
  extended by com.hack23.cia.model.external.worldbank.countries.impl.CountryElement
All Implemented Interfaces:
ModelObject, Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

@Entity(name="CountryElement")
public class CountryElement
extends Object
implements Serializable, ModelObject, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

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>
 

See Also:
Serialized Form

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

iso2Code

protected String iso2Code

name

protected String name

region

protected Region region

incomeLevel

protected IncomeLevel incomeLevel

lendingType

protected LendingType lendingType

capitalCity

protected String capitalCity

longitude

protected String longitude

latitude

protected String latitude

id

protected String id

hjid

protected Long hjid
Constructor Detail

CountryElement

public CountryElement()
Method Detail

getIso2Code

public String getIso2Code()
Gets the value of the iso2Code property.

Returns:
possible object is String

setIso2Code

public void setIso2Code(String value)
Sets the value of the iso2Code property.

Parameters:
value - allowed object is String

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getRegion

public Region getRegion()
Gets the value of the region property.

Returns:
possible object is Region

setRegion

public void setRegion(Region value)
Sets the value of the region property.

Parameters:
value - allowed object is Region

getIncomeLevel

public IncomeLevel getIncomeLevel()
Gets the value of the incomeLevel property.

Returns:
possible object is IncomeLevel

setIncomeLevel

public void setIncomeLevel(IncomeLevel value)
Sets the value of the incomeLevel property.

Parameters:
value - allowed object is IncomeLevel

getLendingType

public LendingType getLendingType()
Gets the value of the lendingType property.

Returns:
possible object is LendingType

setLendingType

public void setLendingType(LendingType value)
Sets the value of the lendingType property.

Parameters:
value - allowed object is LendingType

getCapitalCity

public String getCapitalCity()
Gets the value of the capitalCity property.

Returns:
possible object is String

setCapitalCity

public void setCapitalCity(String value)
Sets the value of the capitalCity property.

Parameters:
value - allowed object is String

getLongitude

public String getLongitude()
Gets the value of the longitude property.

Returns:
possible object is String

setLongitude

public void setLongitude(String value)
Sets the value of the longitude property.

Parameters:
value - allowed object is String

getLatitude

public String getLatitude()
Gets the value of the latitude property.

Returns:
possible object is String

setLatitude

public void setLatitude(String value)
Sets the value of the latitude property.

Parameters:
value - allowed object is String

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

withIso2Code

public CountryElement withIso2Code(String value)

withName

public CountryElement withName(String value)

withRegion

public CountryElement withRegion(Region value)

withIncomeLevel

public CountryElement withIncomeLevel(IncomeLevel value)

withLendingType

public CountryElement withLendingType(LendingType value)

withCapitalCity

public CountryElement withCapitalCity(String value)

withLongitude

public CountryElement withLongitude(String value)

withLatitude

public CountryElement withLatitude(String value)

withId

public CountryElement withId(String value)

getHjid

public Long getHjid()
Gets the value of the hjid property.

Returns:
possible object is Long

setHjid

public void setHjid(Long value)
Sets the value of the hjid property.

Parameters:
value - allowed object is Long

equals

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)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2008-2011 www.hack23.com. All Rights Reserved.