com.mycompany.poll
Class PollBean
java.lang.Object
com.mycompany.poll.PollBean
- public class PollBean
- extends java.lang.Object
This class is a simple bean used for the quick poll example. It
just keep track of three alternative votes and the total of
votes.
- Version:
- 1.0
- Author:
- Hans Bergsten, Gefion Software
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
vote1
private int vote1
vote2
private int vote2
vote3
private int vote3
total
private int total
showScore
private boolean showScore
PollBean
public PollBean()
vote1
public java.lang.String vote1()
vote2
public java.lang.String vote2()
vote3
public java.lang.String vote3()
getShowScore
public boolean getShowScore()
getTotal
public int getTotal()
getVote1Score
public double getVote1Score()
getVote2Score
public double getVote2Score()
getVote3Score
public double getVote3Score()