org.chorem.pollen.business.persistence
Interface Vote
- All Superinterfaces:
- org.nuiton.topia.persistence.TopiaEntity
- All Known Implementing Classes:
- VoteAbstract, VoteImpl
public interface Vote
- extends org.nuiton.topia.persistence.TopiaEntity
| Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity |
accept, addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, delete, getAggregate, getComposite, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, postCreate, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion, update |
WEIGHT
static final java.lang.String WEIGHT
- See Also:
- Constant Field Values
COMMENT
static final java.lang.String COMMENT
- See Also:
- Constant Field Values
ANONYMOUS
static final java.lang.String ANONYMOUS
- See Also:
- Constant Field Values
CHOICE_VOTE_TO_CHOICE
static final java.lang.String CHOICE_VOTE_TO_CHOICE
- See Also:
- Constant Field Values
POLL
static final java.lang.String POLL
- See Also:
- Constant Field Values
POLL_ACCOUNT
static final java.lang.String POLL_ACCOUNT
- See Also:
- Constant Field Values
VOTING_LIST
static final java.lang.String VOTING_LIST
- See Also:
- Constant Field Values
setWeight
void setWeight(java.lang.Double weight)
- Parameters:
weight - La valeur de l'attribut weight à positionner.
getWeight
java.lang.Double getWeight()
- Returns:
- La valeur de l'attribut weight.
setComment
void setComment(java.lang.String comment)
- Parameters:
comment - La valeur de l'attribut comment à positionner.
getComment
java.lang.String getComment()
- Returns:
- La valeur de l'attribut comment.
setAnonymous
void setAnonymous(java.lang.Boolean anonymous)
- Parameters:
anonymous - La valeur de l'attribut anonymous à positionner.
getAnonymous
java.lang.Boolean getAnonymous()
- Returns:
- La valeur de l'attribut anonymous.
addChoiceVoteToChoice
void addChoiceVoteToChoice(VoteToChoice voteToChoice)
- Parameters:
voteToChoice - L'instance de VoteToChoice à ajouter.
addAllChoiceVoteToChoice
void addAllChoiceVoteToChoice(java.util.List<VoteToChoice> voteToChoice)
- Parameters:
voteToChoice - Les instances de VoteToChoice à ajouter.
setChoiceVoteToChoice
void setChoiceVoteToChoice(java.util.List<VoteToChoice> voteToChoice)
- Parameters:
voteToChoice - La Collection de VoteToChoice à positionner.
removeChoiceVoteToChoice
void removeChoiceVoteToChoice(VoteToChoice voteToChoice)
- Parameters:
voteToChoice - L'instance de VoteToChoice à retirer.
clearChoiceVoteToChoice
void clearChoiceVoteToChoice()
- Vide la Collection de VoteToChoice.
getChoiceVoteToChoice
java.util.List<VoteToChoice> getChoiceVoteToChoice()
- Returns:
- La liste des attributs VoteToChoice.
getChoiceVoteToChoiceByTopiaId
VoteToChoice getChoiceVoteToChoiceByTopiaId(java.lang.String topiaId)
- Recupère l'attribut choice à partir de son topiaId.
- Parameters:
topiaId - le topia id de l'attribut recherchée
- Returns:
- l'attribut recherché, ou
null s'il n'existe pas.
getChoiceVoteToChoice
VoteToChoice getChoiceVoteToChoice(Choice value)
- Returns:
- L'attribut VoteToChoice associé à la valeur
value de l'attribut choice.
sizeChoiceVoteToChoice
int sizeChoiceVoteToChoice()
- Returns:
- Le nombre d'éléments de la collection choice.
isChoiceVoteToChoiceEmpty
boolean isChoiceVoteToChoiceEmpty()
- Returns:
true si la collection choiceVoteToChoice est vide.
setPoll
void setPoll(Poll poll)
- Parameters:
poll - La valeur de l'attribut poll à positionner.
getPoll
Poll getPoll()
- Returns:
- La valeur de l'attribut poll.
setPollAccount
void setPollAccount(PollAccount pollAccount)
- Parameters:
pollAccount - La valeur de l'attribut pollAccount à positionner.
getPollAccount
PollAccount getPollAccount()
- Returns:
- La valeur de l'attribut pollAccount.
setVotingList
void setVotingList(VotingList votingList)
- Parameters:
votingList - La valeur de l'attribut votingList à positionner.
getVotingList
VotingList getVotingList()
- Returns:
- La valeur de l'attribut votingList.
Copyright © 2009-2010 CodeLutin. All Rights Reserved.