Package org.bedework.calfacade
Class BwVote
java.lang.Object
org.bedework.calfacade.BwVote
- All Implemented Interfaces:
Comparable<BwVote>,Differable<BwVote>
-
Constructor Summary
ConstructorsConstructorDescriptionBwVote(BwParticipant parent, net.fortuna.ical4j.model.component.Vote vote) Constructor -
Method Summary
Modifier and TypeMethodDescriptionasString()intbooleandiffersFrom(BwVote that) Return true if the entity differs in any way.booleanintintnet.fortuna.ical4j.model.component.VotegetVote()inthashCode()voidsetComment(String val) voidsetPollItemId(int val) voidsetResponse(int val) toString()
-
Constructor Details
-
BwVote
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
-
getComment
- Returns:
- int the vote response
-
getVote
public net.fortuna.ical4j.model.component.Vote getVote() -
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<BwVote>
-
differsFrom
Description copied from interface:DifferableReturn true if the entity differs in any way.- Specified by:
differsFromin interfaceDifferable<BwVote>- Returns:
- boolean
-
asString
-
toString
-