org.chorem.pollen.business.dto
Class PollDTO

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

public class PollDTO
extends java.lang.Object
implements java.io.Serializable

Classe DTO représentant un sondage.

Version:
$Id: PollDTO.java 2780 2009-10-16 16:42:52Z fdesbois $
Author:
amine, rannou
See Also:
Serialized Form

Constructor Summary
PollDTO()
           
PollDTO(java.lang.String id)
           
PollDTO(java.lang.String title, java.lang.String creatorId, ChoiceType choiceType, PollType pollType, VoteCountingType voteCounting)
           
 
Method Summary
 java.util.Date getBeginChoiceDate()
           
 java.util.Date getBeginDate()
           
 java.util.List<ChoiceDTO> getChoiceDTOs()
           
 ChoiceType getChoiceType()
           
 java.util.List<CommentDTO> getCommentDTOs()
           
 java.lang.String getCreatorEmail()
           
 java.lang.String getCreatorId()
           
 java.lang.String getDescription()
           
 java.util.Date getEndChoiceDate()
          Get the value of endChoiceDate
 java.util.Date getEndDate()
           
 java.lang.String getId()
           
 int getMaxChoiceNb()
           
 java.lang.String getPollId()
           
 PollType getPollType()
           
 java.util.List<PreventRuleDTO> getPreventRuleDTOs()
           
 java.util.List<ResultDTO> getResultDTOs()
           
 java.lang.String getTitle()
           
 java.lang.String getUserId()
           
 VoteCountingType getVoteCounting()
           
 java.util.List<VoteDTO> getVoteDTOs()
           
 java.util.List<VotingListDTO> getVotingListDTOs()
           
 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 setChoiceDTOs(java.util.List<ChoiceDTO> choiceDTOs)
           
 void setChoiceType(ChoiceType choiceType)
           
 void setClosed(boolean closed)
           
 void setCommentDTOs(java.util.List<CommentDTO> commentDTOs)
           
 void setContinuousResults(boolean continuousResults)
           
 void setCreatorEmail(java.lang.String creatorEmail)
           
 void setCreatorId(java.lang.String creatorId)
           
 void setDescription(java.lang.String description)
           
 void setEndChoiceDate(java.util.Date endChoiceDate)
          Set the value of endChoiceDate
 void setEndDate(java.util.Date endDate)
           
 void setId(java.lang.String id)
           
 void setMaxChoiceNb(int maxChoiceNb)
           
 void setPollId(java.lang.String pollId)
           
 void setPollType(PollType pollType)
           
 void setPreventRuleDTOs(java.util.List<PreventRuleDTO> preventRuleDTOs)
           
 void setPublicResults(boolean publicResults)
           
 void setResultDTOs(java.util.List<ResultDTO> resultDTOs)
           
 void setTitle(java.lang.String title)
           
 void setUserId(java.lang.String userId)
           
 void setVoteCounting(VoteCountingType voteCounting)
           
 void setVoteDTOs(java.util.List<VoteDTO> voteDTOs)
           
 void setVotingListDTOs(java.util.List<VotingListDTO> votingListDTOs)
           
 
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 id)

PollDTO

public PollDTO(java.lang.String title,
               java.lang.String creatorId,
               ChoiceType choiceType,
               PollType pollType,
               VoteCountingType voteCounting)
Method Detail

getId

public java.lang.String getId()

setId

public void setId(java.lang.String id)

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)

getEndChoiceDate

public java.util.Date getEndChoiceDate()
Get the value of endChoiceDate

Returns:
the value of endChoiceDate

setEndChoiceDate

public void setEndChoiceDate(java.util.Date endChoiceDate)
Set the value of endChoiceDate

Parameters:
endChoiceDate - new value of endChoiceDate

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)

getUserId

public java.lang.String getUserId()

setUserId

public void setUserId(java.lang.String userId)

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)

getCommentDTOs

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

setCommentDTOs

public void setCommentDTOs(java.util.List<CommentDTO> commentDTOs)

getVotingListDTOs

public java.util.List<VotingListDTO> getVotingListDTOs()

setVotingListDTOs

public void setVotingListDTOs(java.util.List<VotingListDTO> votingListDTOs)

getVoteDTOs

public java.util.List<VoteDTO> getVoteDTOs()

setVoteDTOs

public void setVoteDTOs(java.util.List<VoteDTO> voteDTOs)

getPreventRuleDTOs

public java.util.List<PreventRuleDTO> getPreventRuleDTOs()

setPreventRuleDTOs

public void setPreventRuleDTOs(java.util.List<PreventRuleDTO> preventRuleDTOs)

getChoiceDTOs

public java.util.List<ChoiceDTO> getChoiceDTOs()

setChoiceDTOs

public void setChoiceDTOs(java.util.List<ChoiceDTO> choiceDTOs)

getResultDTOs

public java.util.List<ResultDTO> getResultDTOs()

setResultDTOs

public void setResultDTOs(java.util.List<ResultDTO> resultDTOs)


Copyright © 2009-2010 CodeLutin. All Rights Reserved.