Class SwedenElectionRegion

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

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

      • countyId

        protected java.lang.String countyId
        The county id.
      • municipalId

        protected java.lang.String municipalId
        The municipal id.
      • regionName

        protected java.lang.String regionName
        The region name.
      • hjid

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

      • SwedenElectionRegion

        public SwedenElectionRegion()
    • Method Detail

      • getCountyId

        public java.lang.String getCountyId()
        Gets the county id.
        Returns:
        the county id
      • setCountyId

        public void setCountyId​(java.lang.String value)
        Sets the county id.
        Parameters:
        value - the new county id
      • getMunicipalId

        public java.lang.String getMunicipalId()
        Gets the municipal id.
        Returns:
        the municipal id
      • setMunicipalId

        public void setMunicipalId​(java.lang.String value)
        Sets the municipal id.
        Parameters:
        value - the new municipal id
      • getRegionName

        public java.lang.String getRegionName()
        Gets the region name.
        Returns:
        the region name
      • setRegionName

        public void setRegionName​(java.lang.String value)
        Sets the region name.
        Parameters:
        value - the new region name
      • getParties

        public java.util.List<SwedenPoliticalParty> getParties()
        Gets the parties.
        Returns:
        the parties
      • setParties

        public void setParties​(java.util.List<SwedenPoliticalParty> parties)
        Sets the parties.
        Parameters:
        parties - the new parties
      • 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