Class SwedenMunicipalityData
- java.lang.Object
-
- com.hack23.cia.model.external.val.kommunvalkrets.impl.SwedenMunicipalityData
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Entity(name="SwedenMunicipalityData") public class SwedenMunicipalityData extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
The Class SwedenMunicipalityData.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.math.BigInteger
code
The code.protected java.lang.Long
hjid
The hjid.protected java.util.List<SwedenMunicipalityElectionRegionData>
kommunvalkrets
The kommunvalkrets.protected java.lang.String
municipalName
The municipal name.
-
Constructor Summary
Constructors Constructor Description SwedenMunicipalityData()
-
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.Long
getHjid()
Gets the hjid.java.util.List<SwedenMunicipalityElectionRegionData>
getKommunvalkrets()
Gets the kommunvalkrets.java.lang.String
getMunicipalName()
Gets the municipal name.int
hashCode()
void
setCode(java.math.BigInteger value)
Sets the code.void
setHjid(java.lang.Long value)
Sets the hjid.void
setKommunvalkrets(java.util.List<SwedenMunicipalityElectionRegionData> kommunvalkrets)
Sets the kommunvalkrets.void
setMunicipalName(java.lang.String value)
Sets the municipal name.java.lang.String
toString()
-
-
-
Field Detail
-
code
protected java.math.BigInteger code
The code.
-
municipalName
protected java.lang.String municipalName
The municipal name.
-
kommunvalkrets
protected java.util.List<SwedenMunicipalityElectionRegionData> kommunvalkrets
The kommunvalkrets.
-
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
-
getMunicipalName
public java.lang.String getMunicipalName()
Gets the municipal name.- Returns:
- the municipal name
-
setMunicipalName
public void setMunicipalName(java.lang.String value)
Sets the municipal name.- Parameters:
value
- the new municipal name
-
getKommunvalkrets
public java.util.List<SwedenMunicipalityElectionRegionData> getKommunvalkrets()
Gets the kommunvalkrets.- Returns:
- the kommunvalkrets
-
setKommunvalkrets
public void setKommunvalkrets(java.util.List<SwedenMunicipalityElectionRegionData> kommunvalkrets)
Sets the kommunvalkrets.- Parameters:
kommunvalkrets
- the new kommunvalkrets
-
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
-
-