Class SwedenElectionType
- java.lang.Object
-
- com.hack23.cia.model.external.val.partier.impl.SwedenElectionType
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Entity(name="SwedenElectionType") public class SwedenElectionType extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
The Class SwedenElectionType.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
electionCode
The election code.protected java.lang.String
electionType
The election type.protected java.lang.Long
hjid
The hjid.protected SwedenElectionRegion
region
The region.
-
Constructor Summary
Constructors Constructor Description SwedenElectionType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getElectionCode()
Gets the election code.java.lang.String
getElectionType()
Gets the election type.java.lang.Long
getHjid()
Gets the hjid.SwedenElectionRegion
getRegion()
Gets the region.int
hashCode()
void
setElectionCode(java.lang.String value)
Sets the election code.void
setElectionType(java.lang.String value)
Sets the election type.void
setHjid(java.lang.Long value)
Sets the hjid.void
setRegion(SwedenElectionRegion value)
Sets the region.java.lang.String
toString()
-
-
-
Field Detail
-
electionType
protected java.lang.String electionType
The election type.
-
region
protected SwedenElectionRegion region
The region.
-
electionCode
protected java.lang.String electionCode
The election code.
-
hjid
protected java.lang.Long hjid
The hjid.
-
-
Method Detail
-
getElectionType
public java.lang.String getElectionType()
Gets the election type.- Returns:
- the election type
-
setElectionType
public void setElectionType(java.lang.String value)
Sets the election type.- Parameters:
value
- the new election type
-
getRegion
public SwedenElectionRegion getRegion()
Gets the region.- Returns:
- the region
-
setRegion
public void setRegion(SwedenElectionRegion value)
Sets the region.- Parameters:
value
- the new region
-
getElectionCode
public java.lang.String getElectionCode()
Gets the election code.- Returns:
- the election code
-
setElectionCode
public void setElectionCode(java.lang.String value)
Sets the election code.- Parameters:
value
- the new election code
-
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
-
-