Class SwedenElectionRegion
- java.lang.Object
-
- com.hack23.cia.model.external.val.partier.impl.SwedenElectionRegion
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Entity(name="SwedenElectionRegion") public class SwedenElectionRegion extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
The Class SwedenElectionRegion.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
countyId
The county id.protected java.lang.Long
hjid
The hjid.protected java.lang.String
municipalId
The municipal id.protected java.util.List<SwedenPoliticalParty>
parties
The parties.protected java.lang.String
regionName
The region name.
-
Constructor Summary
Constructors Constructor Description SwedenElectionRegion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getCountyId()
Gets the county id.java.lang.Long
getHjid()
Gets the hjid.java.lang.String
getMunicipalId()
Gets the municipal id.java.util.List<SwedenPoliticalParty>
getParties()
Gets the parties.java.lang.String
getRegionName()
Gets the region name.int
hashCode()
void
setCountyId(java.lang.String value)
Sets the county id.void
setHjid(java.lang.Long value)
Sets the hjid.void
setMunicipalId(java.lang.String value)
Sets the municipal id.void
setParties(java.util.List<SwedenPoliticalParty> parties)
Sets the parties.void
setRegionName(java.lang.String value)
Sets the region name.java.lang.String
toString()
-
-
-
Field Detail
-
countyId
protected java.lang.String countyId
The county id.
-
municipalId
protected java.lang.String municipalId
The municipal id.
-
regionName
protected java.lang.String regionName
The region name.
-
parties
protected java.util.List<SwedenPoliticalParty> parties
The parties.
-
hjid
protected java.lang.Long hjid
The hjid.
-
-
Method Detail
-
getCountyId
public java.lang.String getCountyId()
Gets the county id.- Returns:
- the county id
-
setCountyId
public void setCountyId(java.lang.String value)
Sets the county id.- Parameters:
value
- the new county id
-
getMunicipalId
public java.lang.String getMunicipalId()
Gets the municipal id.- Returns:
- the municipal id
-
setMunicipalId
public void setMunicipalId(java.lang.String value)
Sets the municipal id.- Parameters:
value
- the new municipal id
-
getRegionName
public java.lang.String getRegionName()
Gets the region name.- Returns:
- the region name
-
setRegionName
public void setRegionName(java.lang.String value)
Sets the region name.- Parameters:
value
- the new region name
-
getParties
public java.util.List<SwedenPoliticalParty> getParties()
Gets the parties.- Returns:
- the parties
-
setParties
public void setParties(java.util.List<SwedenPoliticalParty> parties)
Sets the parties.- Parameters:
parties
- the new parties
-
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
-
-