Class SwedenElectionType

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

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

    • electionType

      protected String electionType
      The election type.
    • region

      protected SwedenElectionRegion region
      The region.
    • electionCode

      protected String electionCode
      The election code.
    • hjid

      protected Long hjid
      The hjid.
  • Constructor Details

    • SwedenElectionType

      public SwedenElectionType()
  • Method Details

    • getElectionType

      public String getElectionType()
      Gets the election type.
      Returns:
      the election type
    • setElectionType

      public void setElectionType(String value)
      Sets the election type.
      Parameters:
      value - the new election type
    • getRegion

      public SwedenElectionRegion getRegion()
      Gets the region.
      Returns:
      the region
    • setRegion

      public void setRegion(SwedenElectionRegion value)
      Sets the region.
      Parameters:
      value - the new region
    • getElectionCode

      public String getElectionCode()
      Gets the election code.
      Returns:
      the election code
    • setElectionCode

      public void setElectionCode(String value)
      Sets the election code.
      Parameters:
      value - the new election code
    • 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