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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected java.math.BigIntegerThe code.protected java.lang.StringThe county name.protected java.lang.LongThe hjid.protected java.util.List<SwedenCountyElectoralArea> The landstingsvalkrets.protected java.math.BigIntegerThe seats. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanequals(java.lang.Object obj) java.math.BigIntegergetCode()Gets the code.java.lang.StringGets the county name.java.lang.LonggetHjid()Gets the hjid.java.util.List<SwedenCountyElectoralArea> Gets the landstingsvalkrets.java.math.BigIntegergetSeats()Gets the seats.final inthashCode()voidsetCode(java.math.BigInteger value) Sets the code.voidsetCountyName(java.lang.String value) Sets the county name.voidsetHjid(java.lang.Long value) Sets the hjid.voidsetLandstingsvalkrets(java.util.List<SwedenCountyElectoralArea> landstingsvalkrets) Sets the landstingsvalkrets.voidsetSeats(java.math.BigInteger value) Sets the seats.final java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
code
protected java.math.BigInteger codeThe code. -
countyName
protected java.lang.String countyNameThe county name. -
seats
protected java.math.BigInteger seatsThe seats. -
landstingsvalkrets
The landstingsvalkrets. -
hjid
protected java.lang.Long hjidThe hjid.
-
-
Constructor Details
-
SwedenCountyElectoralRegion
public SwedenCountyElectoralRegion()
-
-
Method Details
-
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
Gets the landstingsvalkrets.- Returns:
- the landstingsvalkrets
-
setLandstingsvalkrets
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:
equalsin classjava.lang.Object
-
toString
public final java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
hashCode
public final int hashCode()- Overrides:
hashCodein classjava.lang.Object
-