Class VoteDataDto
- java.lang.Object
-
- com.hack23.cia.model.external.riksdagen.votering.impl.VoteDataDto
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Entity(name="VoteDataDto") public class VoteDataDto extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
The Class VoteDataDto.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
ballotId
The ballot id.protected BallotType
ballotType
The ballot type.protected java.lang.String
bankNumber
The bank number.protected int
bornYear
The born year.protected VoteIssueType
concern
The concern.protected java.lang.String
electoralRegion
The electoral region.protected java.math.BigInteger
electoralRegionNumber
The electoral region number.protected java.lang.String
firstName
The first name.protected java.lang.String
fullName
The full name.protected java.lang.String
gender
The gender.protected java.lang.String
intressentId
The intressent id.protected java.lang.String
issue
The issue.protected java.lang.String
label
The label.protected java.lang.String
lastName
The last name.protected java.lang.String
party
The party.protected java.lang.String
place
The place.protected java.lang.String
rm
The rm.protected VoteDecision
vote
The vote.protected java.lang.String
voteDate
The vote date.
-
Constructor Summary
Constructors Constructor Description VoteDataDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
java.lang.String
getBallotId()
Gets the ballot id.BallotType
getBallotType()
Gets the ballot type.java.lang.String
getBankNumber()
Gets the bank number.int
getBornYear()
Gets the born year.VoteIssueType
getConcern()
Gets the concern.java.lang.String
getElectoralRegion()
Gets the electoral region.java.math.BigInteger
getElectoralRegionNumber()
Gets the electoral region number.java.lang.String
getFirstName()
Gets the first name.java.lang.String
getFullName()
Gets the full name.java.lang.String
getGender()
Gets the gender.java.lang.String
getIntressentId()
Gets the intressent id.java.lang.String
getIssue()
Gets the issue.java.lang.String
getLabel()
Gets the label.java.lang.String
getLastName()
Gets the last name.java.lang.String
getParty()
Gets the party.java.lang.String
getPlace()
Gets the place.java.lang.String
getRm()
Gets the rm.VoteDecision
getVote()
Gets the vote.java.lang.String
getVoteDate()
Gets the vote date.int
hashCode()
void
setBallotId(java.lang.String value)
Sets the ballot id.void
setBallotType(BallotType value)
Sets the ballot type.void
setBankNumber(java.lang.String value)
Sets the bank number.void
setBornYear(int value)
Sets the born year.void
setConcern(VoteIssueType value)
Sets the concern.void
setElectoralRegion(java.lang.String value)
Sets the electoral region.void
setElectoralRegionNumber(java.math.BigInteger value)
Sets the electoral region number.void
setFirstName(java.lang.String value)
Sets the first name.void
setFullName(java.lang.String value)
Sets the full name.void
setGender(java.lang.String value)
Sets the gender.void
setIntressentId(java.lang.String value)
Sets the intressent id.void
setIssue(java.lang.String value)
Sets the issue.void
setLabel(java.lang.String value)
Sets the label.void
setLastName(java.lang.String value)
Sets the last name.void
setParty(java.lang.String value)
Sets the party.void
setPlace(java.lang.String value)
Sets the place.void
setRm(java.lang.String value)
Sets the rm.void
setVote(VoteDecision value)
Sets the vote.void
setVoteDate(java.lang.String value)
Sets the vote date.java.lang.String
toString()
VoteDataDto
withBallotId(java.lang.String value)
With ballot id.VoteDataDto
withBallotType(BallotType value)
With ballot type.VoteDataDto
withBankNumber(java.lang.String value)
With bank number.VoteDataDto
withBornYear(int value)
With born year.VoteDataDto
withConcern(VoteIssueType value)
With concern.VoteDataDto
withElectoralRegion(java.lang.String value)
With electoral region.VoteDataDto
withElectoralRegionNumber(java.math.BigInteger value)
With electoral region number.VoteDataDto
withFirstName(java.lang.String value)
With first name.VoteDataDto
withFullName(java.lang.String value)
With full name.VoteDataDto
withGender(java.lang.String value)
With gender.VoteDataDto
withIntressentId(java.lang.String value)
With intressent id.VoteDataDto
withIssue(java.lang.String value)
With issue.VoteDataDto
withLabel(java.lang.String value)
With label.VoteDataDto
withLastName(java.lang.String value)
With last name.VoteDataDto
withParty(java.lang.String value)
With party.VoteDataDto
withPlace(java.lang.String value)
With place.VoteDataDto
withRm(java.lang.String value)
With rm.VoteDataDto
withVote(VoteDecision value)
With vote.VoteDataDto
withVoteDate(java.lang.String value)
With vote date.
-
-
-
Field Detail
-
concern
protected VoteIssueType concern
The concern.
-
bankNumber
protected java.lang.String bankNumber
The bank number.
-
label
protected java.lang.String label
The label.
-
lastName
protected java.lang.String lastName
The last name.
-
bornYear
protected int bornYear
The born year.
-
firstName
protected java.lang.String firstName
The first name.
-
intressentId
protected java.lang.String intressentId
The intressent id.
-
place
protected java.lang.String place
The place.
-
gender
protected java.lang.String gender
The gender.
-
fullName
protected java.lang.String fullName
The full name.
-
party
protected java.lang.String party
The party.
-
issue
protected java.lang.String issue
The issue.
-
rm
protected java.lang.String rm
The rm.
-
vote
protected VoteDecision vote
The vote.
-
ballotType
protected BallotType ballotType
The ballot type.
-
electoralRegion
protected java.lang.String electoralRegion
The electoral region.
-
electoralRegionNumber
protected java.math.BigInteger electoralRegionNumber
The electoral region number.
-
ballotId
protected java.lang.String ballotId
The ballot id.
-
voteDate
protected java.lang.String voteDate
The vote date.
-
-
Method Detail
-
getConcern
public VoteIssueType getConcern()
Gets the concern.- Returns:
- the concern
-
setConcern
public void setConcern(VoteIssueType value)
Sets the concern.- Parameters:
value
- the new concern
-
getBankNumber
public java.lang.String getBankNumber()
Gets the bank number.- Returns:
- the bank number
-
setBankNumber
public void setBankNumber(java.lang.String value)
Sets the bank number.- Parameters:
value
- the new bank number
-
getLabel
public java.lang.String getLabel()
Gets the label.- Returns:
- the label
-
setLabel
public void setLabel(java.lang.String value)
Sets the label.- Parameters:
value
- the new label
-
getLastName
public java.lang.String getLastName()
Gets the last name.- Returns:
- the last name
-
setLastName
public void setLastName(java.lang.String value)
Sets the last name.- Parameters:
value
- the new last name
-
getBornYear
public int getBornYear()
Gets the born year.- Returns:
- the born year
-
setBornYear
public void setBornYear(int value)
Sets the born year.- Parameters:
value
- the new born year
-
getFirstName
public java.lang.String getFirstName()
Gets the first name.- Returns:
- the first name
-
setFirstName
public void setFirstName(java.lang.String value)
Sets the first name.- Parameters:
value
- the new first name
-
getIntressentId
public java.lang.String getIntressentId()
Gets the intressent id.- Returns:
- the intressent id
-
setIntressentId
public void setIntressentId(java.lang.String value)
Sets the intressent id.- Parameters:
value
- the new intressent id
-
getPlace
public java.lang.String getPlace()
Gets the place.- Returns:
- the place
-
setPlace
public void setPlace(java.lang.String value)
Sets the place.- Parameters:
value
- the new place
-
getGender
public java.lang.String getGender()
Gets the gender.- Returns:
- the gender
-
setGender
public void setGender(java.lang.String value)
Sets the gender.- Parameters:
value
- the new gender
-
getFullName
public java.lang.String getFullName()
Gets the full name.- Returns:
- the full name
-
setFullName
public void setFullName(java.lang.String value)
Sets the full name.- Parameters:
value
- the new full name
-
getParty
public java.lang.String getParty()
Gets the party.- Returns:
- the party
-
setParty
public void setParty(java.lang.String value)
Sets the party.- Parameters:
value
- the new party
-
getIssue
public java.lang.String getIssue()
Gets the issue.- Returns:
- the issue
-
setIssue
public void setIssue(java.lang.String value)
Sets the issue.- Parameters:
value
- the new issue
-
getRm
public java.lang.String getRm()
Gets the rm.- Returns:
- the rm
-
setRm
public void setRm(java.lang.String value)
Sets the rm.- Parameters:
value
- the new rm
-
getVote
public VoteDecision getVote()
Gets the vote.- Returns:
- the vote
-
setVote
public void setVote(VoteDecision value)
Sets the vote.- Parameters:
value
- the new vote
-
getBallotType
public BallotType getBallotType()
Gets the ballot type.- Returns:
- the ballot type
-
setBallotType
public void setBallotType(BallotType value)
Sets the ballot type.- Parameters:
value
- the new ballot type
-
getElectoralRegion
public java.lang.String getElectoralRegion()
Gets the electoral region.- Returns:
- the electoral region
-
setElectoralRegion
public void setElectoralRegion(java.lang.String value)
Sets the electoral region.- Parameters:
value
- the new electoral region
-
getElectoralRegionNumber
public java.math.BigInteger getElectoralRegionNumber()
Gets the electoral region number.- Returns:
- the electoral region number
-
setElectoralRegionNumber
public void setElectoralRegionNumber(java.math.BigInteger value)
Sets the electoral region number.- Parameters:
value
- the new electoral region number
-
getBallotId
public java.lang.String getBallotId()
Gets the ballot id.- Returns:
- the ballot id
-
setBallotId
public void setBallotId(java.lang.String value)
Sets the ballot id.- Parameters:
value
- the new ballot id
-
getVoteDate
public java.lang.String getVoteDate()
Gets the vote date.- Returns:
- the vote date
-
setVoteDate
public void setVoteDate(java.lang.String value)
Sets the vote date.- Parameters:
value
- the new vote date
-
withConcern
public VoteDataDto withConcern(VoteIssueType value)
With concern.- Parameters:
value
- the value- Returns:
- the vote data dto
-
withBankNumber
public VoteDataDto withBankNumber(java.lang.String value)
With bank number.- Parameters:
value
- the value- Returns:
- the vote data dto
-
withLabel
public VoteDataDto withLabel(java.lang.String value)
With label.- Parameters:
value
- the value- Returns:
- the vote data dto
-
withLastName
public VoteDataDto withLastName(java.lang.String value)
With last name.- Parameters:
value
- the value- Returns:
- the vote data dto
-
withBornYear
public VoteDataDto withBornYear(int value)
With born year.- Parameters:
value
- the value- Returns:
- the vote data dto
-
withFirstName
public VoteDataDto withFirstName(java.lang.String value)
With first name.- Parameters:
value
- the value- Returns:
- the vote data dto
-
withIntressentId
public VoteDataDto withIntressentId(java.lang.String value)
With intressent id.- Parameters:
value
- the value- Returns:
- the vote data dto
-
withPlace
public VoteDataDto withPlace(java.lang.String value)
With place.- Parameters:
value
- the value- Returns:
- the vote data dto
-
withGender
public VoteDataDto withGender(java.lang.String value)
With gender.- Parameters:
value
- the value- Returns:
- the vote data dto
-
withFullName
public VoteDataDto withFullName(java.lang.String value)
With full name.- Parameters:
value
- the value- Returns:
- the vote data dto
-
withParty
public VoteDataDto withParty(java.lang.String value)
With party.- Parameters:
value
- the value- Returns:
- the vote data dto
-
withIssue
public VoteDataDto withIssue(java.lang.String value)
With issue.- Parameters:
value
- the value- Returns:
- the vote data dto
-
withRm
public VoteDataDto withRm(java.lang.String value)
With rm.- Parameters:
value
- the value- Returns:
- the vote data dto
-
withVote
public VoteDataDto withVote(VoteDecision value)
With vote.- Parameters:
value
- the value- Returns:
- the vote data dto
-
withBallotType
public VoteDataDto withBallotType(BallotType value)
With ballot type.- Parameters:
value
- the value- Returns:
- the vote data dto
-
withElectoralRegion
public VoteDataDto withElectoralRegion(java.lang.String value)
With electoral region.- Parameters:
value
- the value- Returns:
- the vote data dto
-
withElectoralRegionNumber
public VoteDataDto withElectoralRegionNumber(java.math.BigInteger value)
With electoral region number.- Parameters:
value
- the value- Returns:
- the vote data dto
-
withBallotId
public VoteDataDto withBallotId(java.lang.String value)
With ballot id.- Parameters:
value
- the value- Returns:
- the vote data dto
-
withVoteDate
public VoteDataDto withVoteDate(java.lang.String value)
With vote date.- Parameters:
value
- the value- Returns:
- the vote data dto
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-