Class Vote

  • All Implemented Interfaces:

    @Immutable() 
    public final class Vote
    
                        

    The Vote object represents a vote in a poll.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getId() The unique identifier of the vote.
      final String getPollId() The unique identifier of the poll.
      final String getOptionId() The unique identifier of the voted option.
      final Date getCreatedAt() The creation date of the vote.
      final Date getUpdatedAt() The last update date of the vote.
      final User getUser() The user who cast the vote.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait