com.hack23.cia.model.external.itsyourparliament.countries.impl
Class Countrydetails

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

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

Java class for Countrydetails complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Countrydetails">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="country" type="{http://www.w3.org/2001/XMLSchema}normalizedString"/>
         <element name="countrycode" type="{http://www.w3.org/2001/XMLSchema}normalizedString"/>
         <element name="parliamentPeriod" type="{http://www.w3.org/2001/XMLSchema}normalizedString"/>
         <element name="currentPeriod" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="seats" type="{http://www.w3.org/2001/XMLSchema}integer"/>
         <element name="countryid" type="{http://www.w3.org/2001/XMLSchema}integer"/>
         <element name="countryprofile" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
         <element name="countryinfo" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String country
           
protected  String countrycode
           
protected  BigInteger countryid
           
protected  String countryinfo
           
protected  String countryprofile
           
protected  boolean currentPeriod
           
protected  Long hjid
           
protected  String parliamentPeriod
           
protected  BigInteger seats
           
 
Constructor Summary
Countrydetails()
           
 
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 getCountry()
          Gets the value of the country property.
 String getCountrycode()
          Gets the value of the countrycode property.
 BigInteger getCountryid()
          Gets the value of the countryid property.
 String getCountryinfo()
          Gets the value of the countryinfo property.
 String getCountryprofile()
          Gets the value of the countryprofile property.
 Long getHjid()
          Gets the value of the hjid property.
 String getParliamentPeriod()
          Gets the value of the parliamentPeriod property.
 BigInteger getSeats()
          Gets the value of the seats property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 boolean isCurrentPeriod()
          Gets the value of the currentPeriod property.
 void setCountry(String value)
          Sets the value of the country property.
 void setCountrycode(String value)
          Sets the value of the countrycode property.
 void setCountryid(BigInteger value)
          Sets the value of the countryid property.
 void setCountryinfo(String value)
          Sets the value of the countryinfo property.
 void setCountryprofile(String value)
          Sets the value of the countryprofile property.
 void setCurrentPeriod(boolean value)
          Sets the value of the currentPeriod property.
 void setHjid(Long value)
          Sets the value of the hjid property.
 void setParliamentPeriod(String value)
          Sets the value of the parliamentPeriod property.
 void setSeats(BigInteger value)
          Sets the value of the seats property.
 Countrydetails withCountry(String value)
           
 Countrydetails withCountrycode(String value)
           
 Countrydetails withCountryid(BigInteger value)
           
 Countrydetails withCountryinfo(String value)
           
 Countrydetails withCountryprofile(String value)
           
 Countrydetails withCurrentPeriod(boolean value)
           
 Countrydetails withParliamentPeriod(String value)
           
 Countrydetails withSeats(BigInteger value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

country

protected String country

countrycode

protected String countrycode

parliamentPeriod

protected String parliamentPeriod

currentPeriod

protected boolean currentPeriod

seats

protected BigInteger seats

countryid

protected BigInteger countryid

countryprofile

protected String countryprofile

countryinfo

protected String countryinfo

hjid

protected Long hjid
Constructor Detail

Countrydetails

public Countrydetails()
Method Detail

getCountry

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

Returns:
possible object is String

setCountry

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

Parameters:
value - allowed object is String

getCountrycode

public String getCountrycode()
Gets the value of the countrycode property.

Returns:
possible object is String

setCountrycode

public void setCountrycode(String value)
Sets the value of the countrycode property.

Parameters:
value - allowed object is String

getParliamentPeriod

public String getParliamentPeriod()
Gets the value of the parliamentPeriod property.

Returns:
possible object is String

setParliamentPeriod

public void setParliamentPeriod(String value)
Sets the value of the parliamentPeriod property.

Parameters:
value - allowed object is String

isCurrentPeriod

public boolean isCurrentPeriod()
Gets the value of the currentPeriod property.


setCurrentPeriod

public void setCurrentPeriod(boolean value)
Sets the value of the currentPeriod property.


getSeats

public BigInteger getSeats()
Gets the value of the seats property.

Returns:
possible object is BigInteger

setSeats

public void setSeats(BigInteger value)
Sets the value of the seats property.

Parameters:
value - allowed object is BigInteger

getCountryid

public BigInteger getCountryid()
Gets the value of the countryid property.

Returns:
possible object is BigInteger

setCountryid

public void setCountryid(BigInteger value)
Sets the value of the countryid property.

Parameters:
value - allowed object is BigInteger

getCountryprofile

public String getCountryprofile()
Gets the value of the countryprofile property.

Returns:
possible object is String

setCountryprofile

public void setCountryprofile(String value)
Sets the value of the countryprofile property.

Parameters:
value - allowed object is String

getCountryinfo

public String getCountryinfo()
Gets the value of the countryinfo property.

Returns:
possible object is String

setCountryinfo

public void setCountryinfo(String value)
Sets the value of the countryinfo property.

Parameters:
value - allowed object is String

withCountry

public Countrydetails withCountry(String value)

withCountrycode

public Countrydetails withCountrycode(String value)

withParliamentPeriod

public Countrydetails withParliamentPeriod(String value)

withCurrentPeriod

public Countrydetails withCurrentPeriod(boolean value)

withSeats

public Countrydetails withSeats(BigInteger value)

withCountryid

public Countrydetails withCountryid(BigInteger value)

withCountryprofile

public Countrydetails withCountryprofile(String value)

withCountryinfo

public Countrydetails withCountryinfo(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.