org.chorem.pollen.votecounting.dto
Class PollDTO

java.lang.Object
  extended by org.chorem.pollen.votecounting.dto.PollDTO

public class PollDTO
extends java.lang.Object

Classe DTO représentant un sondage.

Version:
$Id: PollDTO.java 2701 2009-08-12 12:00:59Z nrannou $

Constructor Summary
PollDTO()
           
PollDTO(java.lang.String pollId)
           
 
Method Summary
 java.util.Date getBeginChoiceDate()
           
 java.util.Date getBeginDate()
           
 java.util.List<PollChoiceDTO> getChoices()
           
 ChoiceType getChoiceType()
           
 java.util.List<CommentDTO> getComments()
           
 java.lang.String getCreatorEmail()
           
 java.lang.String getCreatorId()
           
 java.lang.String getDescription()
           
 java.util.Date getEndDate()
           
 int getMaxChoiceNb()
           
 java.lang.String getPollId()
           
 PollType getPollType()
           
 java.lang.String getTitle()
           
 VoteCountingType getVoteCounting()
           
 java.util.List<VotingGroupDTO> getVotingGroups()
           
 boolean isAnonymous()
           
 boolean isAnonymousVoteAllowed()
           
 boolean isChoiceAddAllowed()
           
 boolean isClosed()
           
 boolean isContinuousResults()
           
 boolean isPublicResults()
           
 void setAnonymous(boolean anonymous)
           
 void setAnonymousVoteAllowed(boolean anonymousVoteAllowed)
           
 void setBeginChoiceDate(java.util.Date beginChoiceDate)
           
 void setBeginDate(java.util.Date beginDate)
           
 void setChoiceAddAllowed(boolean choiceAddAllowed)
           
 void setChoices(java.util.List<PollChoiceDTO> choices)
           
 void setChoiceType(ChoiceType choiceType)
           
 void setClosed(boolean closed)
           
 void setComments(java.util.List<CommentDTO> comments)
           
 void setContinuousResults(boolean continuousResults)
           
 void setCreatorEmail(java.lang.String creatorEmail)
           
 void setCreatorId(java.lang.String creatorId)
           
 void setDescription(java.lang.String description)
           
 void setEndDate(java.util.Date endDate)
           
 void setMaxChoiceNb(int maxChoiceNb)
           
 void setPollId(java.lang.String pollId)
           
 void setPollType(PollType pollType)
           
 void setPublicResults(boolean publicResults)
           
 void setTitle(java.lang.String title)
           
 void setVoteCounting(VoteCountingType voteCounting)
           
 void setVotingGroups(java.util.List<VotingGroupDTO> votingGroups)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PollDTO

public PollDTO()

PollDTO

public PollDTO(java.lang.String pollId)
Method Detail

getPollId

public java.lang.String getPollId()

setPollId

public void setPollId(java.lang.String pollId)

getTitle

public java.lang.String getTitle()

setTitle

public void setTitle(java.lang.String title)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getBeginDate

public java.util.Date getBeginDate()

setBeginDate

public void setBeginDate(java.util.Date beginDate)

getEndDate

public java.util.Date getEndDate()

setEndDate

public void setEndDate(java.util.Date endDate)

getBeginChoiceDate

public java.util.Date getBeginChoiceDate()

setBeginChoiceDate

public void setBeginChoiceDate(java.util.Date beginChoiceDate)

getMaxChoiceNb

public int getMaxChoiceNb()

setMaxChoiceNb

public void setMaxChoiceNb(int maxChoiceNb)

isClosed

public boolean isClosed()

setClosed

public void setClosed(boolean closed)

isChoiceAddAllowed

public boolean isChoiceAddAllowed()

setChoiceAddAllowed

public void setChoiceAddAllowed(boolean choiceAddAllowed)

isAnonymousVoteAllowed

public boolean isAnonymousVoteAllowed()

setAnonymousVoteAllowed

public void setAnonymousVoteAllowed(boolean anonymousVoteAllowed)

isAnonymous

public boolean isAnonymous()

setAnonymous

public void setAnonymous(boolean anonymous)

isPublicResults

public boolean isPublicResults()

setPublicResults

public void setPublicResults(boolean publicResults)

isContinuousResults

public boolean isContinuousResults()

setContinuousResults

public void setContinuousResults(boolean continuousResults)

getPollType

public PollType getPollType()

setPollType

public void setPollType(PollType pollType)

getVoteCounting

public VoteCountingType getVoteCounting()

setVoteCounting

public void setVoteCounting(VoteCountingType voteCounting)

getChoiceType

public ChoiceType getChoiceType()

setChoiceType

public void setChoiceType(ChoiceType choiceType)

getCreatorId

public java.lang.String getCreatorId()

setCreatorId

public void setCreatorId(java.lang.String creatorId)

getCreatorEmail

public java.lang.String getCreatorEmail()

setCreatorEmail

public void setCreatorEmail(java.lang.String creatorEmail)

getVotingGroups

public java.util.List<VotingGroupDTO> getVotingGroups()

setVotingGroups

public void setVotingGroups(java.util.List<VotingGroupDTO> votingGroups)

getChoices

public java.util.List<PollChoiceDTO> getChoices()

setChoices

public void setChoices(java.util.List<PollChoiceDTO> choices)

getComments

public java.util.List<CommentDTO> getComments()

setComments

public void setComments(java.util.List<CommentDTO> comments)


Copyright © 2009-2010 CodeLutin. All Rights Reserved.