Class PollItmId

java.lang.Object
org.bedework.calfacade.PollItmId
All Implemented Interfaces:
Serializable, Comparable<PollItmId>

public class PollItmId extends Object implements Comparable<PollItmId>, Serializable
For a VPOLL there may be a set of these with distinct values - these are only added and not updated. They are for transporting the response. For the candidates this gives the poll item id for that candidate.

We encode these as Response":"public-comment":"value

Author:
douglm
See Also:
  • Constructor Details

    • PollItmId

      public PollItmId(Integer id)
      Parameters:
      id - - the item id
    • PollItmId

      public PollItmId(Integer response, String publicComment, Integer id)
      REPLY and STATUS only
      Parameters:
      response - from voter
      publicComment - text
      id - item id being responded to
    • PollItmId

      public PollItmId(String val)
      Parameters:
      val - - the internally encoded value
  • Method Details