org.chorem.pollen.business.dto
Class ResultDTO

java.lang.Object
  extended by org.chorem.pollen.business.dto.ResultDTO
All Implemented Interfaces:
Serializable

public class ResultDTO
extends Object
implements Serializable

Classe DTO représentant un résultat de sondage.

Version:
$Id: ResultDTO.java 2859 2010-02-09 13:50:24Z jruchaud $
Author:
amine, rannou
See Also:
Serialized Form

Constructor Summary
ResultDTO()
           
ResultDTO(String id)
           
ResultDTO(String name, String pollId, ChoiceType choiceType, VoteCountingType myVoteCounting)
           
 
Method Summary
 ChoiceType getChoiceType()
           
 String getId()
           
 String getName()
           
 String getPollId()
           
 String getValue()
           
 VoteCountingType getVoteCounting()
           
 boolean isByGroup()
           
 boolean isHidden()
           
 void setByGroup(boolean byGroup)
           
 void setChoiceType(ChoiceType choiceType)
           
 void setHidden(boolean hidden)
           
 void setId(String id)
           
 void setName(String name)
           
 void setPollId(String pollId)
           
 void setValue(String value)
           
 void setVoteCounting(VoteCountingType voteCounting)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultDTO

public ResultDTO()

ResultDTO

public ResultDTO(String id)

ResultDTO

public ResultDTO(String name,
                 String pollId,
                 ChoiceType choiceType,
                 VoteCountingType myVoteCounting)
Method Detail

getId

public String getId()

setId

public void setId(String id)

getName

public String getName()

setName

public void setName(String name)

getValue

public String getValue()

setValue

public void setValue(String value)

getPollId

public String getPollId()

setPollId

public void setPollId(String pollId)

getChoiceType

public ChoiceType getChoiceType()

setChoiceType

public void setChoiceType(ChoiceType choiceType)

getVoteCounting

public VoteCountingType getVoteCounting()

setVoteCounting

public void setVoteCounting(VoteCountingType voteCounting)

isByGroup

public boolean isByGroup()

setByGroup

public void setByGroup(boolean byGroup)

isHidden

public boolean isHidden()

setHidden

public void setHidden(boolean hidden)


Copyright © 2009-2010 CodeLutin. All Rights Reserved.