org.chorem.pollen.business.dto
Class PollDTO
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
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 CodeLutin. All Rights Reserved.