Class SwedenCountyElectoralArea
java.lang.Object
com.hack23.cia.model.external.val.landstingvalkrets.impl.SwedenCountyElectoralArea
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject,Serializable
@Entity(name="SwedenCountyElectoralArea")
public class SwedenCountyElectoralArea
extends Object
implements com.hack23.cia.model.common.api.ModelObject
The Class SwedenCountyElectoralArea.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BigIntegerThe code.protected StringThe electoral area name.protected BigIntegerThe first round.protected LongThe hjid.protected BigIntegerThe number of seats.protected BigIntegerThe number of voters.protected StringThe rest.protected BigIntegerThe second round. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleangetCode()Gets the code.Gets the electoral area name.Gets the first round.getHjid()Gets the hjid.Gets the number of seats.Gets the number of voters.getRest()Gets the rest.Gets the second round.final inthashCode()voidsetCode(BigInteger value) Sets the code.voidsetElectoralAreaName(String value) Sets the electoral area name.voidsetFirstRound(BigInteger value) Sets the first round.voidSets the hjid.voidsetNumberOfSeats(BigInteger value) Sets the number of seats.voidsetNumberOfVoters(BigInteger value) Sets the number of voters.voidSets the rest.voidsetSecondRound(BigInteger value) Sets the second round.final StringtoString()
-
Field Details
-
code
The code. -
electoralAreaName
The electoral area name. -
numberOfVoters
The number of voters. -
firstRound
The first round. -
rest
The rest. -
secondRound
The second round. -
numberOfSeats
The number of seats. -
hjid
The hjid.
-
-
Constructor Details
-
SwedenCountyElectoralArea
public SwedenCountyElectoralArea()
-
-
Method Details
-
getCode
Gets the code.- Returns:
- the code
-
setCode
Sets the code.- Parameters:
value- the new code
-
getElectoralAreaName
Gets the electoral area name.- Returns:
- the electoral area name
-
setElectoralAreaName
Sets the electoral area name.- Parameters:
value- the new electoral area name
-
getNumberOfVoters
Gets the number of voters.- Returns:
- the number of voters
-
setNumberOfVoters
Sets the number of voters.- Parameters:
value- the new number of voters
-
getFirstRound
Gets the first round.- Returns:
- the first round
-
setFirstRound
Sets the first round.- Parameters:
value- the new first round
-
getRest
Gets the rest.- Returns:
- the rest
-
setRest
Sets the rest.- Parameters:
value- the new rest
-
getSecondRound
Gets the second round.- Returns:
- the second round
-
setSecondRound
Sets the second round.- Parameters:
value- the new second round
-
getNumberOfSeats
Gets the number of seats.- Returns:
- the number of seats
-
setNumberOfSeats
Sets the number of seats.- Parameters:
value- the new number of seats
-
getHjid
Gets the hjid.- Returns:
- the hjid
-
setHjid
Sets the hjid.- Parameters:
value- the new hjid
-
equals
-
toString
-
hashCode
public final int hashCode()
-