Class SwedenElectionType

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

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

      • electionType

        protected java.lang.String electionType
        The election type.
      • electionCode

        protected java.lang.String electionCode
        The election code.
      • hjid

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

      • SwedenElectionType

        public SwedenElectionType()
    • Method Detail

      • getElectionType

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

        public void setElectionType​(java.lang.String value)
        Sets the election type.
        Parameters:
        value - the new election type
      • setRegion

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

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

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