Class SwedenCountyElectoralRegion
- java.lang.Object
-
- com.hack23.cia.model.external.val.landstingvalkrets.impl.SwedenCountyElectoralRegion
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Entity(name="SwedenCountyElectoralRegion") public class SwedenCountyElectoralRegion extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
The Class SwedenCountyElectoralRegion.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.math.BigInteger
code
The code.protected java.lang.String
countyName
The county name.protected java.lang.Long
hjid
The hjid.protected java.util.List<SwedenCountyElectoralArea>
landstingsvalkrets
The landstingsvalkrets.protected java.math.BigInteger
seats
The seats.
-
Constructor Summary
Constructors Constructor Description SwedenCountyElectoralRegion()
-
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.String
getCountyName()
Gets the county name.java.lang.Long
getHjid()
Gets the hjid.java.util.List<SwedenCountyElectoralArea>
getLandstingsvalkrets()
Gets the landstingsvalkrets.java.math.BigInteger
getSeats()
Gets the seats.int
hashCode()
void
setCode(java.math.BigInteger value)
Sets the code.void
setCountyName(java.lang.String value)
Sets the county name.void
setHjid(java.lang.Long value)
Sets the hjid.void
setLandstingsvalkrets(java.util.List<SwedenCountyElectoralArea> landstingsvalkrets)
Sets the landstingsvalkrets.void
setSeats(java.math.BigInteger value)
Sets the seats.java.lang.String
toString()
-
-
-
Field Detail
-
code
protected java.math.BigInteger code
The code.
-
countyName
protected java.lang.String countyName
The county name.
-
seats
protected java.math.BigInteger seats
The seats.
-
landstingsvalkrets
protected java.util.List<SwedenCountyElectoralArea> landstingsvalkrets
The landstingsvalkrets.
-
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
-
getCountyName
public java.lang.String getCountyName()
Gets the county name.- Returns:
- the county name
-
setCountyName
public void setCountyName(java.lang.String value)
Sets the county name.- Parameters:
value
- the new county name
-
getSeats
public java.math.BigInteger getSeats()
Gets the seats.- Returns:
- the seats
-
setSeats
public void setSeats(java.math.BigInteger value)
Sets the seats.- Parameters:
value
- the new seats
-
getLandstingsvalkrets
public java.util.List<SwedenCountyElectoralArea> getLandstingsvalkrets()
Gets the landstingsvalkrets.- Returns:
- the landstingsvalkrets
-
setLandstingsvalkrets
public void setLandstingsvalkrets(java.util.List<SwedenCountyElectoralArea> landstingsvalkrets)
Sets the landstingsvalkrets.- Parameters:
landstingsvalkrets
- the new landstingsvalkrets
-
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
-
-