Package org.lockss.laaws.poller.model
Class VoterSummary
java.lang.Object
org.lockss.laaws.poller.model.VoterSummary
A summary of a poll in which we are acting just as a voter.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondetailLink(LinkDesc detailLink) boolean@NotNull StringgetAuId()The id for the au being polled.@NotNull StringThe id of who called the poll.@NotNull LongThe deadline for voting in this poll.@Valid LinkDescGet detailLink@NotNull StringKey generated by poll manager when poll was created.@NotNull LonggetStart()The timestamp for when the poll started.@NotNull StringThe current status of the poll.inthashCode()voidvoidvoidsetDeadline(Long deadline) voidsetDetailLink(LinkDesc detailLink) voidsetPollKey(String pollKey) voidvoidtoString()
-
Constructor Details
-
VoterSummary
public VoterSummary()
-
-
Method Details
-
auId
-
getAuId
The id for the au being polled.- Returns:
- auId
-
setAuId
-
caller
-
getCaller
The id of who called the poll.- Returns:
- caller
-
setCaller
-
start
-
getStart
The timestamp for when the poll started.- Returns:
- start
-
setStart
-
status
-
getStatus
The current status of the poll.- Returns:
- status
-
setStatus
-
deadline
-
getDeadline
The deadline for voting in this poll.- Returns:
- deadline
-
setDeadline
-
pollKey
-
getPollKey
Key generated by poll manager when poll was created.- Returns:
- pollKey
-
setPollKey
-
detailLink
-
getDetailLink
Get detailLink- Returns:
- detailLink
-
setDetailLink
-
equals
-
hashCode
public int hashCode() -
toString
-