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 Details

    • code

      protected BigInteger code
      The code.
    • electoralAreaName

      protected String electoralAreaName
      The electoral area name.
    • numberOfVoters

      protected BigInteger numberOfVoters
      The number of voters.
    • firstRound

      protected BigInteger firstRound
      The first round.
    • rest

      protected String rest
      The rest.
    • secondRound

      protected BigInteger secondRound
      The second round.
    • numberOfSeats

      protected BigInteger numberOfSeats
      The number of seats.
    • hjid

      protected Long hjid
      The hjid.
  • Constructor Details

    • SwedenCountyElectoralArea

      public SwedenCountyElectoralArea()
  • Method Details

    • getCode

      public BigInteger getCode()
      Gets the code.
      Returns:
      the code
    • setCode

      public void setCode(BigInteger value)
      Sets the code.
      Parameters:
      value - the new code
    • getElectoralAreaName

      public String getElectoralAreaName()
      Gets the electoral area name.
      Returns:
      the electoral area name
    • setElectoralAreaName

      public void setElectoralAreaName(String value)
      Sets the electoral area name.
      Parameters:
      value - the new electoral area name
    • getNumberOfVoters

      public BigInteger getNumberOfVoters()
      Gets the number of voters.
      Returns:
      the number of voters
    • setNumberOfVoters

      public void setNumberOfVoters(BigInteger value)
      Sets the number of voters.
      Parameters:
      value - the new number of voters
    • getFirstRound

      public BigInteger getFirstRound()
      Gets the first round.
      Returns:
      the first round
    • setFirstRound

      public void setFirstRound(BigInteger value)
      Sets the first round.
      Parameters:
      value - the new first round
    • getRest

      public String getRest()
      Gets the rest.
      Returns:
      the rest
    • setRest

      public void setRest(String value)
      Sets the rest.
      Parameters:
      value - the new rest
    • getSecondRound

      public BigInteger getSecondRound()
      Gets the second round.
      Returns:
      the second round
    • setSecondRound

      public void setSecondRound(BigInteger value)
      Sets the second round.
      Parameters:
      value - the new second round
    • getNumberOfSeats

      public BigInteger getNumberOfSeats()
      Gets the number of seats.
      Returns:
      the number of seats
    • setNumberOfSeats

      public void setNumberOfSeats(BigInteger value)
      Sets the number of seats.
      Parameters:
      value - the new number of seats
    • getHjid

      public Long getHjid()
      Gets the hjid.
      Returns:
      the hjid
    • setHjid

      public void setHjid(Long value)
      Sets the hjid.
      Parameters:
      value - the new hjid
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public final String toString()
      Overrides:
      toString in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object