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 2615 2009-07-01 13:47:45Z nrannou $

Constructor Summary
PollDTO(java.lang.String idPoll, int maxChoicesByPerson, PollType typePoll, VoteCountingType typeVoteCounting)
           
 
Method Summary
 java.util.Date getBeginChoiceDate()
           
 java.util.Date getBeginDate()
           
 java.util.List<PollChoiceDTO> getChoices()
           
 java.util.List<CommentDTO> getComments()
           
 java.lang.String getCreatorEmail()
           
 java.lang.String getCreatorID()
           
 java.lang.String getDescription()
           
 java.util.Date getEndDate()
           
 java.lang.String getIdPoll()
           
 int getMaxChoicesByPerson()
           
 java.lang.String getTitle()
           
 PollType getTypePoll()
           
 VoteCountingType getTypeVoteCounting()
           
 java.util.List<VotingGroupDTO> getVotingGroups()
           
 boolean isAnonymous()
           
 boolean isAnonymousVoteAllowed()
           
 boolean isChoiceAddAllowed()
           
 boolean isClosed()
           
 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 setClosed(boolean closed)
           
 void setComments(java.util.List<CommentDTO> comments)
           
 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 setIdPoll(java.lang.String idPoll)
           
 void setMaxChoicesByPerson(int maxChoicesByPerson)
           
 void setTitle(java.lang.String title)
           
 void setTypePoll(PollType typePoll)
           
 void setTypeVoteCounting(VoteCountingType typeVoteCounting)
           
 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(java.lang.String idPoll,
               int maxChoicesByPerson,
               PollType typePoll,
               VoteCountingType typeVoteCounting)
Method Detail

getIdPoll

public java.lang.String getIdPoll()

setIdPoll

public void setIdPoll(java.lang.String idPoll)

isAnonymous

public boolean isAnonymous()

setAnonymous

public void setAnonymous(boolean anonymous)

getTypePoll

public PollType getTypePoll()

setTypePoll

public void setTypePoll(PollType typePoll)

getTypeVoteCounting

public VoteCountingType getTypeVoteCounting()

setTypeVoteCounting

public void setTypeVoteCounting(VoteCountingType typeVoteCounting)

getMaxChoicesByPerson

public int getMaxChoicesByPerson()

setMaxChoicesByPerson

public void setMaxChoicesByPerson(int maxChoicesByPerson)

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)

getBeginChoiceDate

public java.util.Date getBeginChoiceDate()

setBeginChoiceDate

public void setBeginChoiceDate(java.util.Date beginChoiceDate)

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)

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)

getCreatorEmail

public java.lang.String getCreatorEmail()

setCreatorEmail

public void setCreatorEmail(java.lang.String creatorEmail)

getCreatorID

public java.lang.String getCreatorID()

setCreatorID

public void setCreatorID(java.lang.String creatorID)

getVotingGroups

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

setVotingGroups

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

getComments

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

setComments

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

getChoices

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

setChoices

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


Copyright © 2009 CodeLutin. All Rights Reserved.