Class SwedenCountyElectoralRegion

  • All Implemented Interfaces:
    com.hack23.cia.model.common.api.ModelObject, java.io.Serializable

    @Entity(name="SwedenCountyElectoralRegion")
    public class SwedenCountyElectoralRegion
    extends java.lang.Object
    implements com.hack23.cia.model.common.api.ModelObject
    The Class SwedenCountyElectoralRegion.
    See Also:
    Serialized Form
    • Field Detail

      • code

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

        protected java.lang.String countyName
        The county name.
      • seats

        protected java.math.BigInteger seats
        The seats.
      • hjid

        protected java.lang.Long hjid
        The hjid.
    • Constructor Detail

      • SwedenCountyElectoralRegion

        public SwedenCountyElectoralRegion()
    • 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
      • getCountyName

        public java.lang.String getCountyName()
        Gets the county name.
        Returns:
        the county name
      • setCountyName

        public void setCountyName​(java.lang.String value)
        Sets the county name.
        Parameters:
        value - the new county name
      • getSeats

        public java.math.BigInteger getSeats()
        Gets the seats.
        Returns:
        the seats
      • setSeats

        public void setSeats​(java.math.BigInteger value)
        Sets the seats.
        Parameters:
        value - the new seats
      • getLandstingsvalkrets

        public java.util.List<SwedenCountyElectoralArea> getLandstingsvalkrets()
        Gets the landstingsvalkrets.
        Returns:
        the landstingsvalkrets
      • setLandstingsvalkrets

        public void setLandstingsvalkrets​(java.util.List<SwedenCountyElectoralArea> landstingsvalkrets)
        Sets the landstingsvalkrets.
        Parameters:
        landstingsvalkrets - the new landstingsvalkrets
      • 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