|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.base.communication.messages.CommandMessage
cz.cuni.amis.pogamut.defcon.communication.messages.commands.DefConCommand
cz.cuni.amis.pogamut.defcon.communication.messages.commands.SendVote
public class SendVote
Votes in a poll.
| Constructor Summary | |
|---|---|
SendVote(SendVote original)
Cloning constructor... |
|
SendVote(VoteType voteType,
Vote vote)
Creates new instance of command SendVote. |
|
| Method Summary | |
|---|---|
Vote |
getVote()
Type of vote. |
VoteType |
getVoteType()
Type of vote. |
void |
perform()
Performs the command - to be used only by the DefConCommandExecutor. |
SendVote |
setVote(Vote vote)
Type of vote. |
SendVote |
setVoteType(VoteType voteType)
Type of vote. |
String |
toHtmlString()
Returns message in html format. |
String |
toString()
Returns human readable serialization of the message. |
| Methods inherited from class cz.cuni.amis.pogamut.defcon.communication.messages.commands.DefConCommand |
|---|
getStringizedFields, toMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SendVote(VoteType voteType,
Vote vote)
voteType - Type of vote.vote - Type of vote.public SendVote(SendVote original)
original - | Method Detail |
|---|
public VoteType getVoteType()
public SendVote setVoteType(VoteType voteType)
voteType -
public Vote getVote()
public SendVote setVote(Vote vote)
vote -
public void perform()
DefConCommandExecutor.
perform in class DefConCommandpublic String toString()
toString in class CommandMessagepublic String toHtmlString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||