Class VoteDataEmbeddedId
- java.lang.Object
-
- com.hack23.cia.model.external.riksdagen.votering.impl.VoteDataEmbeddedId
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Embeddable public class VoteDataEmbeddedId extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
The Class VoteDataEmbeddedId.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
ballotId
The ballot id.protected VoteIssueType
concern
The concern.protected java.lang.String
intressentId
The intressent id.protected java.lang.String
issue
The issue.
-
Constructor Summary
Constructors Constructor Description VoteDataEmbeddedId()
-
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.VoteIssueType
getConcern()
Gets the concern.java.lang.String
getIntressentId()
Gets the intressent id.java.lang.String
getIssue()
Gets the issue.int
hashCode()
void
setBallotId(java.lang.String value)
Sets the ballot id.void
setConcern(VoteIssueType value)
Sets the concern.void
setIntressentId(java.lang.String value)
Sets the intressent id.void
setIssue(java.lang.String value)
Sets the issue.java.lang.String
toString()
VoteDataEmbeddedId
withBallotId(java.lang.String value)
With ballot id.VoteDataEmbeddedId
withConcern(VoteIssueType value)
With concern.VoteDataEmbeddedId
withIntressentId(java.lang.String value)
With intressent id.VoteDataEmbeddedId
withIssue(java.lang.String value)
With issue.
-
-
-
Field Detail
-
issue
protected java.lang.String issue
The issue.
-
ballotId
protected java.lang.String ballotId
The ballot id.
-
intressentId
protected java.lang.String intressentId
The intressent id.
-
concern
protected VoteIssueType concern
The concern.
-
-
Method Detail
-
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
-
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
-
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
-
getConcern
public VoteIssueType getConcern()
Gets the concern.- Returns:
- the concern
-
setConcern
public void setConcern(VoteIssueType value)
Sets the concern.- Parameters:
value
- the new concern
-
withIssue
public VoteDataEmbeddedId withIssue(java.lang.String value)
With issue.- Parameters:
value
- the value- Returns:
- the vote data embedded id
-
withBallotId
public VoteDataEmbeddedId withBallotId(java.lang.String value)
With ballot id.- Parameters:
value
- the value- Returns:
- the vote data embedded id
-
withIntressentId
public VoteDataEmbeddedId withIntressentId(java.lang.String value)
With intressent id.- Parameters:
value
- the value- Returns:
- the vote data embedded id
-
withConcern
public VoteDataEmbeddedId withConcern(VoteIssueType value)
With concern.- Parameters:
value
- the value- Returns:
- the vote data embedded id
-
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
-
-