org.chorem.pollen.business.dto
Class PollDTO

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

public class PollDTO
extends Object
implements Serializable

Classe DTO représentant un sondage.

Version:
$Id: PollDTO.java 2901 2010-03-08 14:42:47Z fdesbois $
Author:
amine, rannou
See Also:
Serialized Form

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

PollDTO

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

getId

public String getId()

setId

public void setId(String id)

getPollId

public String getPollId()

setPollId

public void setPollId(String pollId)

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getBeginDate

public Date getBeginDate()

setBeginDate

public void setBeginDate(Date beginDate)

getEndChoiceDate

public Date getEndChoiceDate()
Get the value of endChoiceDate

Returns:
the value of endChoiceDate

setEndChoiceDate

public void setEndChoiceDate(Date endChoiceDate)
Set the value of endChoiceDate

Parameters:
endChoiceDate - new value of endChoiceDate

getEndDate

public Date getEndDate()

setEndDate

public void setEndDate(Date endDate)

getBeginChoiceDate

public Date getBeginChoiceDate()

setBeginChoiceDate

public void setBeginChoiceDate(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 String getUserId()

setUserId

public void setUserId(String userId)

getCreatorId

public String getCreatorId()

setCreatorId

public void setCreatorId(String creatorId)

getCreatorEmail

public String getCreatorEmail()

setCreatorEmail

public void setCreatorEmail(String creatorEmail)

getNbVotes

public int getNbVotes()

setNbVotes

public void setNbVotes(int nbVotes)

getCommentDTOs

public List<CommentDTO> getCommentDTOs()

setCommentDTOs

public void setCommentDTOs(List<CommentDTO> commentDTOs)

getVotingListDTOs

public List<VotingListDTO> getVotingListDTOs()

setVotingListDTOs

public void setVotingListDTOs(List<VotingListDTO> votingListDTOs)

getVoteDTOs

public List<VoteDTO> getVoteDTOs()

setVoteDTOs

public void setVoteDTOs(List<VoteDTO> voteDTOs)

getPreventRuleDTOs

public List<PreventRuleDTO> getPreventRuleDTOs()

setPreventRuleDTOs

public void setPreventRuleDTOs(List<PreventRuleDTO> preventRuleDTOs)

getChoiceDTOs

public List<ChoiceDTO> getChoiceDTOs()

setChoiceDTOs

public void setChoiceDTOs(List<ChoiceDTO> choiceDTOs)

getResultDTOs

public List<ResultDTO> getResultDTOs()

setResultDTOs

public void setResultDTOs(List<ResultDTO> resultDTOs)


Copyright © 2009-2010 CodeLutin. All Rights Reserved.