Class SwedenCountyData
- java.lang.Object
-
- com.hack23.cia.model.external.val.kommunvalkrets.impl.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 Summary
Fields Modifier and Type Field Description protected java.math.BigInteger
code
The code.protected java.lang.String
countyName
The county name.protected java.lang.Long
hjid
The hjid.protected java.util.List<SwedenMunicipalityData>
kommun
The kommun.
-
Constructor Summary
Constructors Constructor Description SwedenCountyData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.math.BigInteger
getCode()
Gets the code.java.lang.String
getCountyName()
Gets the county name.java.lang.Long
getHjid()
Gets the hjid.java.util.List<SwedenMunicipalityData>
getKommun()
Gets the kommun.int
hashCode()
void
setCode(java.math.BigInteger value)
Sets the code.void
setCountyName(java.lang.String value)
Sets the county name.void
setHjid(java.lang.Long value)
Sets the hjid.void
setKommun(java.util.List<SwedenMunicipalityData> kommun)
Sets the kommun.java.lang.String
toString()
-
-
-
Field Detail
-
code
protected java.math.BigInteger code
The code.
-
countyName
protected java.lang.String countyName
The county name.
-
kommun
protected java.util.List<SwedenMunicipalityData> kommun
The kommun.
-
hjid
protected java.lang.Long hjid
The hjid.
-
-
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
-
getKommun
public java.util.List<SwedenMunicipalityData> getKommun()
Gets the kommun.- Returns:
- the kommun
-
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 classjava.lang.Object
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-