Class 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:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.math.BigInteger code
      The code.
      protected java.lang.String electoralAreaName
      The electoral area 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.math.BigInteger getCode()
      Gets the code.
      java.lang.String getElectoralAreaName()
      Gets the electoral area 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 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.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • 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 Detail

      • SwedenCountyElectoralArea

        public SwedenCountyElectoralArea()
    • Method Detail

      • 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