Class SwedenElectionType
java.lang.Object
com.hack23.cia.model.external.val.partier.impl.SwedenElectionType
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject,Serializable
@Entity(name="SwedenElectionType")
public class SwedenElectionType
extends Object
implements com.hack23.cia.model.common.api.ModelObject
The Class SwedenElectionType.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe election code.protected StringThe election type.protected LongThe hjid.protected SwedenElectionRegionThe region. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanGets the election code.Gets the election type.getHjid()Gets the hjid.Gets the region.final inthashCode()voidsetElectionCode(String value) Sets the election code.voidsetElectionType(String value) Sets the election type.voidSets the hjid.voidsetRegion(SwedenElectionRegion value) Sets the region.final StringtoString()
-
Field Details
-
electionType
The election type. -
region
The region. -
electionCode
The election code. -
hjid
The hjid.
-
-
Constructor Details
-
SwedenElectionType
public SwedenElectionType()
-
-
Method Details
-
getElectionType
Gets the election type.- Returns:
- the election type
-
setElectionType
Sets the election type.- Parameters:
value- the new election type
-
getRegion
Gets the region.- Returns:
- the region
-
setRegion
Sets the region.- Parameters:
value- the new region
-
getElectionCode
Gets the election code.- Returns:
- the election code
-
setElectionCode
Sets the election code.- Parameters:
value- the new election code
-
getHjid
Gets the hjid.- Returns:
- the hjid
-
setHjid
Sets the hjid.- Parameters:
value- the new hjid
-
equals
-
toString
-
hashCode
public final int hashCode()
-