com.hack23.cia.model.external.val.kommunvalkrets.impl
Class SwedenMunicipalityElectionRegionData

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

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

Java class for SwedenMunicipalityElectionRegionData complex type.

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

 <complexType name="SwedenMunicipalityElectionRegionData">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="valkretskod" type="{http://www.w3.org/2001/XMLSchema}integer"/>
         <element name="valkretsnamn" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="röstberättigade" type="{http://www.w3.org/2001/XMLSchema}integer"/>
         <element name="omgång1" type="{http://www.w3.org/2001/XMLSchema}integer"/>
         <element name="rest" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="omgång2" type="{http://www.w3.org/2001/XMLSchema}integer"/>
         <element name="mandat" type="{http://www.w3.org/2001/XMLSchema}integer"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  BigInteger code
           
protected  BigInteger firstRound
           
protected  Long hjid
           
protected  String name
           
protected  BigInteger numberOfSeats
           
protected  BigInteger numberOfVoters
           
protected  String rest
           
protected  BigInteger secondRound
           
 
Constructor Summary
SwedenMunicipalityElectionRegionData()
           
 
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)
           
 BigInteger getCode()
          Gets the value of the code property.
 BigInteger getFirstRound()
          Gets the value of the firstRound property.
 Long getHjid()
          Gets the value of the hjid property.
 String getName()
          Gets the value of the name property.
 BigInteger getNumberOfSeats()
          Gets the value of the numberOfSeats property.
 BigInteger getNumberOfVoters()
          Gets the value of the numberOfVoters property.
 String getRest()
          Gets the value of the rest property.
 BigInteger getSecondRound()
          Gets the value of the secondRound property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 void setCode(BigInteger value)
          Sets the value of the code property.
 void setFirstRound(BigInteger value)
          Sets the value of the firstRound property.
 void setHjid(Long value)
          Sets the value of the hjid property.
 void setName(String value)
          Sets the value of the name property.
 void setNumberOfSeats(BigInteger value)
          Sets the value of the numberOfSeats property.
 void setNumberOfVoters(BigInteger value)
          Sets the value of the numberOfVoters property.
 void setRest(String value)
          Sets the value of the rest property.
 void setSecondRound(BigInteger value)
          Sets the value of the secondRound property.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code

protected BigInteger code

name

protected String name

numberOfVoters

protected BigInteger numberOfVoters

firstRound

protected BigInteger firstRound

rest

protected String rest

secondRound

protected BigInteger secondRound

numberOfSeats

protected BigInteger numberOfSeats

hjid

protected Long hjid
Constructor Detail

SwedenMunicipalityElectionRegionData

public SwedenMunicipalityElectionRegionData()
Method Detail

getCode

public BigInteger getCode()
Gets the value of the code property.

Returns:
possible object is BigInteger

setCode

public void setCode(BigInteger value)
Sets the value of the code property.

Parameters:
value - allowed object is BigInteger

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

getNumberOfVoters

public BigInteger getNumberOfVoters()
Gets the value of the numberOfVoters property.

Returns:
possible object is BigInteger

setNumberOfVoters

public void setNumberOfVoters(BigInteger value)
Sets the value of the numberOfVoters property.

Parameters:
value - allowed object is BigInteger

getFirstRound

public BigInteger getFirstRound()
Gets the value of the firstRound property.

Returns:
possible object is BigInteger

setFirstRound

public void setFirstRound(BigInteger value)
Sets the value of the firstRound property.

Parameters:
value - allowed object is BigInteger

getRest

public String getRest()
Gets the value of the rest property.

Returns:
possible object is String

setRest

public void setRest(String value)
Sets the value of the rest property.

Parameters:
value - allowed object is String

getSecondRound

public BigInteger getSecondRound()
Gets the value of the secondRound property.

Returns:
possible object is BigInteger

setSecondRound

public void setSecondRound(BigInteger value)
Sets the value of the secondRound property.

Parameters:
value - allowed object is BigInteger

getNumberOfSeats

public BigInteger getNumberOfSeats()
Gets the value of the numberOfSeats property.

Returns:
possible object is BigInteger

setNumberOfSeats

public void setNumberOfSeats(BigInteger value)
Sets the value of the numberOfSeats property.

Parameters:
value - allowed object is BigInteger

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.