org.chorem.pollen.bean
Class PollResult

java.lang.Object
  extended by org.chorem.pollen.bean.PollResult
All Implemented Interfaces:
Serializable

public class PollResult
extends Object
implements Serializable

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

Since:
1.3
See Also:
Serialized Form

Constructor Summary
PollResult()
           
PollResult(String id)
           
PollResult(String name, String pollId, org.chorem.pollen.common.ChoiceType choiceType, org.chorem.pollen.common.VoteCountingType voteCountingType)
           
 
Method Summary
 org.chorem.pollen.common.ChoiceType getChoiceType()
           
 String getId()
           
 String getName()
           
 String getPollId()
           
 String getValue()
           
 org.chorem.pollen.common.VoteCountingType getVoteCountingType()
           
 boolean isByGroup()
           
 boolean isHidden()
           
 void setByGroup(boolean byGroup)
           
 void setChoiceType(org.chorem.pollen.common.ChoiceType choiceType)
           
 void setHidden(boolean hidden)
           
 void setId(String id)
           
 void setName(String name)
           
 void setPollId(String pollId)
           
 void setValue(String value)
           
 void setVoteCountingType(org.chorem.pollen.common.VoteCountingType voteCountingType)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PollResult

public PollResult()

PollResult

public PollResult(String id)

PollResult

public PollResult(String name,
                  String pollId,
                  org.chorem.pollen.common.ChoiceType choiceType,
                  org.chorem.pollen.common.VoteCountingType voteCountingType)
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 org.chorem.pollen.common.ChoiceType getChoiceType()

setChoiceType

public void setChoiceType(org.chorem.pollen.common.ChoiceType choiceType)

getVoteCountingType

public org.chorem.pollen.common.VoteCountingType getVoteCountingType()

setVoteCountingType

public void setVoteCountingType(org.chorem.pollen.common.VoteCountingType voteCountingType)

isByGroup

public boolean isByGroup()

setByGroup

public void setByGroup(boolean byGroup)

isHidden

public boolean isHidden()

setHidden

public void setHidden(boolean hidden)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 CodeLutin. All Rights Reserved.