Class SwedenElectionRegion
java.lang.Object
com.hack23.cia.model.external.val.partier.impl.SwedenElectionRegion
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject,Serializable
@Entity(name="SwedenElectionRegion")
public class SwedenElectionRegion
extends Object
implements com.hack23.cia.model.common.api.ModelObject
The Class SwedenElectionRegion.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanGets the county id.getHjid()Gets the hjid.Gets the municipal id.Gets the parties.Gets the region name.final inthashCode()voidsetCountyId(String value) Sets the county id.voidSets the hjid.voidsetMunicipalId(String value) Sets the municipal id.voidsetParties(List<SwedenPoliticalParty> parties) Sets the parties.voidsetRegionName(String value) Sets the region name.final StringtoString()
-
Field Details
-
countyId
The county id. -
municipalId
The municipal id. -
regionName
The region name. -
parties
The parties. -
hjid
The hjid.
-
-
Constructor Details
-
SwedenElectionRegion
public SwedenElectionRegion()
-
-
Method Details
-
getCountyId
Gets the county id.- Returns:
- the county id
-
setCountyId
Sets the county id.- Parameters:
value- the new county id
-
getMunicipalId
Gets the municipal id.- Returns:
- the municipal id
-
setMunicipalId
Sets the municipal id.- Parameters:
value- the new municipal id
-
getRegionName
Gets the region name.- Returns:
- the region name
-
setRegionName
Sets the region name.- Parameters:
value- the new region name
-
getParties
Gets the parties.- Returns:
- the parties
-
setParties
Sets the parties.- Parameters:
parties- the new parties
-
getHjid
Gets the hjid.- Returns:
- the hjid
-
setHjid
Sets the hjid.- Parameters:
value- the new hjid
-
equals
-
toString
-
hashCode
public final int hashCode()
-