Class BallotDocumentData
- java.lang.Object
-
- com.hack23.cia.model.external.riksdagen.votering.impl.BallotDocumentData
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Entity(name="BallotDocumentData") public class BallotDocumentData extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
The Class BallotDocumentData.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Long
hjid
The hjid.protected java.util.List<VoteDataDto>
voteDataList
The vote data list.
-
Constructor Summary
Constructors Constructor Description BallotDocumentData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.Long
getHjid()
Gets the hjid.java.util.List<VoteDataDto>
getVoteDataList()
Gets the vote data list.int
hashCode()
void
setHjid(java.lang.Long value)
Sets the hjid.void
setVoteDataList(java.util.List<VoteDataDto> voteDataList)
Sets the vote data list.java.lang.String
toString()
BallotDocumentData
withVoteDataList(java.util.List<VoteDataDto> voteDataList)
With vote data list.
-
-
-
Field Detail
-
voteDataList
protected java.util.List<VoteDataDto> voteDataList
The vote data list.
-
hjid
protected java.lang.Long hjid
The hjid.
-
-
Method Detail
-
getVoteDataList
public java.util.List<VoteDataDto> getVoteDataList()
Gets the vote data list.- Returns:
- the vote data list
-
setVoteDataList
public void setVoteDataList(java.util.List<VoteDataDto> voteDataList)
Sets the vote data list.- Parameters:
voteDataList
- the new vote data list
-
withVoteDataList
public BallotDocumentData withVoteDataList(java.util.List<VoteDataDto> voteDataList)
With vote data list.- Parameters:
voteDataList
- the vote data list- Returns:
- the ballot document data
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
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 boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-