Class SwedenCountyData

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

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

      • code

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

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

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

      • SwedenCountyData

        public SwedenCountyData()
    • 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
      • setKommun

        public void setKommun​(java.util.List<SwedenMunicipalityData> kommun)
        Sets the kommun.
        Parameters:
        kommun - the new kommun
      • 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