org.chorem.pollen.business.dto
Class PollDTO
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PollDTO
public PollDTO()
PollDTO
public PollDTO(String id)
PollDTO
public PollDTO(String title,
String creatorId,
ChoiceType choiceType,
PollType pollType,
VoteCountingType voteCounting)
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.