Class BwVote

java.lang.Object
org.bedework.calfacade.BwVote
All Implemented Interfaces:
Comparable<BwVote>, Differable<BwVote>

public class BwVote extends Object implements Comparable<BwVote>, Differable<BwVote>
  • Constructor Details

    • BwVote

      public BwVote(BwParticipant parent, net.fortuna.ical4j.model.component.Vote vote)
      Constructor
  • Method Details

    • setPollItemId

      public void setPollItemId(int val)
    • getPollItemId

      public int getPollItemId()
      Returns:
      int the poll item id
    • setResponse

      public void setResponse(int val)
    • getResponse

      public int getResponse()
      Returns:
      int the vote response
    • setComment

      public void setComment(String val)
    • getComment

      public String getComment()
      Returns:
      int the vote response
    • getVote

      public net.fortuna.ical4j.model.component.Vote getVote()
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • compareTo

      public int compareTo(BwVote that)
      Specified by:
      compareTo in interface Comparable<BwVote>
    • differsFrom

      public boolean differsFrom(BwVote that)
      Description copied from interface: Differable
      Return true if the entity differs in any way.
      Specified by:
      differsFrom in interface Differable<BwVote>
      Returns:
      boolean
    • asString

      public String asString()
    • toString

      public String toString()
      Overrides:
      toString in class Object