Class VoterSummary

java.lang.Object
org.lockss.laaws.poller.model.VoterSummary

@Validated public class VoterSummary extends Object
A summary of a poll in which we are acting just as a voter.
  • Constructor Details

    • VoterSummary

      public VoterSummary()
  • Method Details

    • auId

      public VoterSummary auId(String auId)
    • getAuId

      @NotNull public @NotNull String getAuId()
      The id for the au being polled.
      Returns:
      auId
    • setAuId

      public void setAuId(String auId)
    • caller

      public VoterSummary caller(String caller)
    • getCaller

      @NotNull public @NotNull String getCaller()
      The id of who called the poll.
      Returns:
      caller
    • setCaller

      public void setCaller(String caller)
    • start

      public VoterSummary start(Long start)
    • getStart

      @NotNull public @NotNull Long getStart()
      The timestamp for when the poll started.
      Returns:
      start
    • setStart

      public void setStart(Long start)
    • status

      public VoterSummary status(String status)
    • getStatus

      @NotNull public @NotNull String getStatus()
      The current status of the poll.
      Returns:
      status
    • setStatus

      public void setStatus(String status)
    • deadline

      public VoterSummary deadline(Long deadline)
    • getDeadline

      @NotNull public @NotNull Long getDeadline()
      The deadline for voting in this poll.
      Returns:
      deadline
    • setDeadline

      public void setDeadline(Long deadline)
    • pollKey

      public VoterSummary pollKey(String pollKey)
    • getPollKey

      @NotNull public @NotNull String getPollKey()
      Key generated by poll manager when poll was created.
      Returns:
      pollKey
    • setPollKey

      public void setPollKey(String pollKey)
    • detailLink

      public VoterSummary detailLink(LinkDesc detailLink)
    • getDetailLink

      @Valid public @Valid LinkDesc getDetailLink()
      Get detailLink
      Returns:
      detailLink
    • setDetailLink

      public void setDetailLink(LinkDesc detailLink)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object