Class SwedenElectionRegion

java.lang.Object
com.hack23.cia.model.external.val.partier.impl.SwedenElectionRegion
All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject, Serializable

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

    • countyId

      protected String countyId
      The county id.
    • municipalId

      protected String municipalId
      The municipal id.
    • regionName

      protected String regionName
      The region name.
    • parties

      protected List<SwedenPoliticalParty> parties
      The parties.
    • hjid

      protected Long hjid
      The hjid.
  • Constructor Details

    • SwedenElectionRegion

      public SwedenElectionRegion()
  • Method Details

    • getCountyId

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

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

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

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

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

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

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

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