com.hack23.cia.model.external.itsyourparliament.countryinfo.impl
Class CountryinfoEuElement

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

@Entity(name="CountryinfoEuElement")
public class CountryinfoEuElement
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="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="countryprofile" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
         <element name="meps">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="mep" type="{http://countryinfo.itsyourparliament.external.model.cia.hack23.com/impl}Mep" maxOccurs="unbounded"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String country
           
protected  String countrycode
           
protected  String countryprofile
           
protected  boolean currentPeriod
           
protected  Long hjid
           
protected  Meps meps
           
protected  String parliamentPeriod
           
protected  BigInteger seats
           
 
Constructor Summary
CountryinfoEuElement()
           
 
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.
 String getCountryprofile()
          Gets the value of the countryprofile property.
 Long getHjid()
          Gets the value of the hjid property.
 Meps getMeps()
          Gets the value of the meps 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 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 setMeps(Meps value)
          Sets the value of the meps property.
 void setParliamentPeriod(String value)
          Sets the value of the parliamentPeriod property.
 void setSeats(BigInteger value)
          Sets the value of the seats property.
 CountryinfoEuElement withCountry(String value)
           
 CountryinfoEuElement withCountrycode(String value)
           
 CountryinfoEuElement withCountryprofile(String value)
           
 CountryinfoEuElement withCurrentPeriod(boolean value)
           
 CountryinfoEuElement withMeps(Meps value)
           
 CountryinfoEuElement withParliamentPeriod(String value)
           
 CountryinfoEuElement 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

countryprofile

protected String countryprofile

meps

protected Meps meps

hjid

protected Long hjid
Constructor Detail

CountryinfoEuElement

public CountryinfoEuElement()
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

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

getMeps

public Meps getMeps()
Gets the value of the meps property.

Returns:
possible object is Meps

setMeps

public void setMeps(Meps value)
Sets the value of the meps property.

Parameters:
value - allowed object is Meps

withCountry

public CountryinfoEuElement withCountry(String value)

withCountrycode

public CountryinfoEuElement withCountrycode(String value)

withParliamentPeriod

public CountryinfoEuElement withParliamentPeriod(String value)

withCurrentPeriod

public CountryinfoEuElement withCurrentPeriod(boolean value)

withSeats

public CountryinfoEuElement withSeats(BigInteger value)

withCountryprofile

public CountryinfoEuElement withCountryprofile(String value)

withMeps

public CountryinfoEuElement withMeps(Meps 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.