Class SwedenCountyElectoralArea
java.lang.Object
com.hack23.cia.model.external.val.landstingvalkrets.impl.SwedenCountyElectoralArea
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject,java.io.Serializable
@Entity(name="SwedenCountyElectoralArea")
public class SwedenCountyElectoralArea
extends java.lang.Object
implements com.hack23.cia.model.common.api.ModelObject
The Class SwedenCountyElectoralArea.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected java.math.BigIntegerThe code.protected java.lang.StringThe electoral area name.protected java.math.BigIntegerThe first round.protected java.lang.LongThe hjid.protected java.math.BigIntegerThe number of seats.protected java.math.BigIntegerThe number of voters.protected java.lang.StringThe rest.protected java.math.BigIntegerThe second round. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanequals(java.lang.Object obj) java.math.BigIntegergetCode()Gets the code.java.lang.StringGets the electoral area name.java.math.BigIntegerGets the first round.java.lang.LonggetHjid()Gets the hjid.java.math.BigIntegerGets the number of seats.java.math.BigIntegerGets the number of voters.java.lang.StringgetRest()Gets the rest.java.math.BigIntegerGets the second round.final inthashCode()voidsetCode(java.math.BigInteger value) Sets the code.voidsetElectoralAreaName(java.lang.String value) Sets the electoral area name.voidsetFirstRound(java.math.BigInteger value) Sets the first round.voidsetHjid(java.lang.Long value) Sets the hjid.voidsetNumberOfSeats(java.math.BigInteger value) Sets the number of seats.voidsetNumberOfVoters(java.math.BigInteger value) Sets the number of voters.voidsetRest(java.lang.String value) Sets the rest.voidsetSecondRound(java.math.BigInteger value) Sets the second round.final java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
code
protected java.math.BigInteger codeThe code. -
electoralAreaName
protected java.lang.String electoralAreaNameThe electoral area name. -
numberOfVoters
protected java.math.BigInteger numberOfVotersThe number of voters. -
firstRound
protected java.math.BigInteger firstRoundThe first round. -
rest
protected java.lang.String restThe rest. -
secondRound
protected java.math.BigInteger secondRoundThe second round. -
numberOfSeats
protected java.math.BigInteger numberOfSeatsThe number of seats. -
hjid
protected java.lang.Long hjidThe hjid.
-
-
Constructor Details
-
SwedenCountyElectoralArea
public SwedenCountyElectoralArea()
-
-
Method Details
-
getCode
public java.math.BigInteger getCode()Gets the code.- Returns:
- the code
-
setCode
public void setCode(java.math.BigInteger value) Sets the code.- Parameters:
value- the new code
-
getElectoralAreaName
public java.lang.String getElectoralAreaName()Gets the electoral area name.- Returns:
- the electoral area name
-
setElectoralAreaName
public void setElectoralAreaName(java.lang.String value) Sets the electoral area name.- Parameters:
value- the new electoral area name
-
getNumberOfVoters
public java.math.BigInteger getNumberOfVoters()Gets the number of voters.- Returns:
- the number of voters
-
setNumberOfVoters
public void setNumberOfVoters(java.math.BigInteger value) Sets the number of voters.- Parameters:
value- the new number of voters
-
getFirstRound
public java.math.BigInteger getFirstRound()Gets the first round.- Returns:
- the first round
-
setFirstRound
public void setFirstRound(java.math.BigInteger value) Sets the first round.- Parameters:
value- the new first round
-
getRest
public java.lang.String getRest()Gets the rest.- Returns:
- the rest
-
setRest
public void setRest(java.lang.String value) Sets the rest.- Parameters:
value- the new rest
-
getSecondRound
public java.math.BigInteger getSecondRound()Gets the second round.- Returns:
- the second round
-
setSecondRound
public void setSecondRound(java.math.BigInteger value) Sets the second round.- Parameters:
value- the new second round
-
getNumberOfSeats
public java.math.BigInteger getNumberOfSeats()Gets the number of seats.- Returns:
- the number of seats
-
setNumberOfSeats
public void setNumberOfSeats(java.math.BigInteger value) Sets the number of seats.- Parameters:
value- the new number of seats
-
getHjid
public java.lang.Long getHjid()Gets the hjid.- Returns:
- the hjid
-
setHjid
public void setHjid(java.lang.Long value) Sets the hjid.- Parameters:
value- the new hjid
-
equals
public final boolean equals(java.lang.Object obj) - Overrides:
equalsin classjava.lang.Object
-
toString
public final java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
hashCode
public final int hashCode()- Overrides:
hashCodein classjava.lang.Object
-