org.chorem.pollen.votecounting.dto
Class ChoiceDTO
java.lang.Object
org.chorem.pollen.votecounting.dto.ChoiceDTO
public class ChoiceDTO
- extends java.lang.Object
Classe DTO représentant un choix et les valeurs du vote correspondant.
- Version:
- $Id: ChoiceDTO.java 2615 2009-07-01 13:47:45Z nrannou $
|
Constructor Summary |
ChoiceDTO()
|
ChoiceDTO(java.lang.String idChoice,
double value,
double percentage,
int nbVotes)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChoiceDTO
public ChoiceDTO()
ChoiceDTO
public ChoiceDTO(java.lang.String idChoice,
double value,
double percentage,
int nbVotes)
getIdChoice
public java.lang.String getIdChoice()
setIdChoice
public void setIdChoice(java.lang.String idChoice)
getValue
public double getValue()
setValue
public void setValue(double value)
getPercentage
public double getPercentage()
setPercentage
public void setPercentage(double percentage)
getNbVotes
public int getNbVotes()
setNbVotes
public void setNbVotes(int nbVotes)
isResult
public boolean isResult()
setResult
public void setResult(boolean result)
Copyright © 2009 CodeLutin. All Rights Reserved.