Class SwedenParliamentElectoralRegion
- java.lang.Object
-
- com.hack23.cia.model.external.val.riksdagsvalkrets.impl.SwedenParliamentElectoralRegion
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Entity(name="SwedenParliamentElectoralRegion") public class SwedenParliamentElectoralRegion extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
The Class SwedenParliamentElectoralRegion.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
electionRegionName
The election region name.protected java.math.BigInteger
firstRound
The first round.protected java.lang.Long
hjid
The hjid.protected java.math.BigInteger
numberOfSeats
The number of seats.protected java.math.BigInteger
numberOfVoters
The number of voters.protected java.lang.String
rest
The rest.protected java.math.BigInteger
secondRound
The second round.
-
Constructor Summary
Constructors Constructor Description SwedenParliamentElectoralRegion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
java.lang.String
getElectionRegionName()
Gets the election region name.java.math.BigInteger
getFirstRound()
Gets the first round.java.lang.Long
getHjid()
Gets the hjid.java.math.BigInteger
getNumberOfSeats()
Gets the number of seats.java.math.BigInteger
getNumberOfVoters()
Gets the number of voters.java.lang.String
getRest()
Gets the rest.java.math.BigInteger
getSecondRound()
Gets the second round.int
hashCode()
void
setElectionRegionName(java.lang.String value)
Sets the election region name.void
setFirstRound(java.math.BigInteger value)
Sets the first round.void
setHjid(java.lang.Long value)
Sets the hjid.void
setNumberOfSeats(java.math.BigInteger value)
Sets the number of seats.void
setNumberOfVoters(java.math.BigInteger value)
Sets the number of voters.void
setRest(java.lang.String value)
Sets the rest.void
setSecondRound(java.math.BigInteger value)
Sets the second round.
-
-
-
Field Detail
-
electionRegionName
protected java.lang.String electionRegionName
The election region name.
-
numberOfVoters
protected java.math.BigInteger numberOfVoters
The number of voters.
-
firstRound
protected java.math.BigInteger firstRound
The first round.
-
rest
protected java.lang.String rest
The rest.
-
secondRound
protected java.math.BigInteger secondRound
The second round.
-
numberOfSeats
protected java.math.BigInteger numberOfSeats
The number of seats.
-
hjid
protected java.lang.Long hjid
The hjid.
-
-
Method Detail
-
getElectionRegionName
public java.lang.String getElectionRegionName()
Gets the election region name.- Returns:
- the election region name
-
setElectionRegionName
public void setElectionRegionName(java.lang.String value)
Sets the election region name.- Parameters:
value
- the new election region 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 boolean equals(java.lang.Object object)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-