|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.chorem.pollen.votecounting.business.Vote
public class Vote
Cette classe décrit un vote du sondage. Le vote récupère l'id et le poids du votant.
| Constructor Summary | |
|---|---|
Vote(double value,
double weight,
java.lang.String votingID)
Constructeur |
|
| Method Summary | |
|---|---|
double |
getValue()
getValue : Renvoie la valeur du vote |
java.lang.String |
getVotingID()
getVotingID : Renvoie l'identifiant du votant |
double |
getWeight()
getWeight : Renvoie le poids du vote |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Vote(double value,
double weight,
java.lang.String votingID)
value - : valeur du vote connue pour le choixweight - : poids du votevotingID - : identifiant du votant| Method Detail |
|---|
public double getValue()
public double getWeight()
public java.lang.String getVotingID()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||