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

    Fields
    Modifier and Type
    Field
    Description
    protected java.math.BigInteger
    The code.
    protected java.lang.String
    The electoral area name.
    protected java.math.BigInteger
    The first round.
    protected java.lang.Long
    The hjid.
    protected java.math.BigInteger
    The number of seats.
    protected java.math.BigInteger
    The number of voters.
    protected java.lang.String
    The rest.
    protected java.math.BigInteger
    The second round.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    equals(java.lang.Object obj)
     
    java.math.BigInteger
    Gets the code.
    java.lang.String
    Gets the electoral area name.
    java.math.BigInteger
    Gets the first round.
    java.lang.Long
    Gets the hjid.
    java.math.BigInteger
    Gets the number of seats.
    java.math.BigInteger
    Gets the number of voters.
    java.lang.String
    Gets the rest.
    java.math.BigInteger
    Gets the second round.
    final int
     
    void
    setCode(java.math.BigInteger value)
    Sets the code.
    void
    setElectoralAreaName(java.lang.String value)
    Sets the electoral area 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.
    final java.lang.String
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • code

      protected java.math.BigInteger code
      The code.
    • electoralAreaName

      protected java.lang.String electoralAreaName
      The electoral area 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.
  • 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:
      equals in class java.lang.Object
    • toString

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

      public final int hashCode()
      Overrides:
      hashCode in class java.lang.Object