com.hack23.cia.model.external.worldbank.data.impl
Class Data

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

@Entity(name="Data")
public class Data
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 minOccurs="0">
         <element name="indicator" form="qualified">
           <complexType>
             <simpleContent>
               <extension base="<http://www.w3.org/2001/XMLSchema>NCName">
                 <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
               </extension>
             </simpleContent>
           </complexType>
         </element>
         <element name="country" form="qualified">
           <complexType>
             <simpleContent>
               <extension base="<http://www.w3.org/2001/XMLSchema>NCName">
                 <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
               </extension>
             </simpleContent>
           </complexType>
         </element>
         <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" form="qualified"/>
         <element name="date" type="{http://www.w3.org/2001/XMLSchema}int" form="qualified"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  Country country
           
protected  Long hjid
           
protected  Indicator indicator
           
protected  String value
           
protected  Integer year
           
 
Constructor Summary
Data()
           
 
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)
           
 Country getCountry()
          Gets the value of the country property.
 Long getHjid()
          Gets the value of the hjid property.
 Indicator getIndicator()
          Gets the value of the indicator property.
 String getValue()
          Gets the value of the value property.
 Integer getYear()
          Gets the value of the year property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 void setCountry(Country value)
          Sets the value of the country property.
 void setHjid(Long value)
          Sets the value of the hjid property.
 void setIndicator(Indicator value)
          Sets the value of the indicator property.
 void setValue(String value)
          Sets the value of the value property.
 void setYear(Integer value)
          Sets the value of the year property.
 Data withCountry(Country value)
           
 Data withIndicator(Indicator value)
           
 Data withValue(String value)
           
 Data withYear(Integer value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

indicator

protected Indicator indicator

country

protected Country country

value

protected String value

year

protected Integer year

hjid

protected Long hjid
Constructor Detail

Data

public Data()
Method Detail

getIndicator

public Indicator getIndicator()
Gets the value of the indicator property.

Returns:
possible object is Indicator

setIndicator

public void setIndicator(Indicator value)
Sets the value of the indicator property.

Parameters:
value - allowed object is Indicator

getCountry

public Country getCountry()
Gets the value of the country property.

Returns:
possible object is Country

setCountry

public void setCountry(Country value)
Sets the value of the country property.

Parameters:
value - allowed object is Country

getValue

public String getValue()
Gets the value of the value property.

Returns:
possible object is String

setValue

public void setValue(String value)
Sets the value of the value property.

Parameters:
value - allowed object is String

getYear

public Integer getYear()
Gets the value of the year property.

Returns:
possible object is Integer

setYear

public void setYear(Integer value)
Sets the value of the year property.

Parameters:
value - allowed object is Integer

withIndicator

public Data withIndicator(Indicator value)

withCountry

public Data withCountry(Country value)

withValue

public Data withValue(String value)

withYear

public Data withYear(Integer 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.