org.chorem.pollen.business.persistence
Interface Choice
- All Superinterfaces:
- org.nuiton.topia.persistence.TopiaEntity
- All Known Implementing Classes:
- ChoiceAbstract, ChoiceImpl
public interface Choice
- 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 |
NAME
static final java.lang.String NAME
- See Also:
- Constant Field Values
DESCRIPTION
static final java.lang.String DESCRIPTION
- See Also:
- Constant Field Values
VALIDATE
static final java.lang.String VALIDATE
- See Also:
- Constant Field Values
VOTE_VOTE_TO_CHOICE
static final java.lang.String VOTE_VOTE_TO_CHOICE
- See Also:
- Constant Field Values
POLL
static final java.lang.String POLL
- See Also:
- Constant Field Values
setName
void setName(java.lang.String name)
- Parameters:
name - La valeur de l'attribut name à positionner.
getName
java.lang.String getName()
- Returns:
- La valeur de l'attribut name.
setDescription
void setDescription(java.lang.String description)
- Parameters:
description - La valeur de l'attribut description à positionner.
getDescription
java.lang.String getDescription()
- Returns:
- La valeur de l'attribut description.
setValidate
void setValidate(java.lang.Boolean validate)
- Parameters:
validate - La valeur de l'attribut validate à positionner.
getValidate
java.lang.Boolean getValidate()
- Returns:
- La valeur de l'attribut validate.
addVoteVoteToChoice
void addVoteVoteToChoice(VoteToChoice voteToChoice)
- Parameters:
voteToChoice - L'instance de VoteToChoice à ajouter.
addAllVoteVoteToChoice
void addAllVoteVoteToChoice(java.util.List<VoteToChoice> voteToChoice)
- Parameters:
voteToChoice - Les instances de VoteToChoice à ajouter.
setVoteVoteToChoice
void setVoteVoteToChoice(java.util.List<VoteToChoice> voteToChoice)
- Parameters:
voteToChoice - La Collection de VoteToChoice à positionner.
removeVoteVoteToChoice
void removeVoteVoteToChoice(VoteToChoice voteToChoice)
- Parameters:
voteToChoice - L'instance de VoteToChoice à retirer.
clearVoteVoteToChoice
void clearVoteVoteToChoice()
- Vide la Collection de VoteToChoice.
getVoteVoteToChoice
java.util.List<VoteToChoice> getVoteVoteToChoice()
- Returns:
- La liste des attributs VoteToChoice.
getVoteVoteToChoiceByTopiaId
VoteToChoice getVoteVoteToChoiceByTopiaId(java.lang.String topiaId)
- Recupère l'attribut vote à 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.
getVoteVoteToChoice
VoteToChoice getVoteVoteToChoice(Vote value)
- Returns:
- L'attribut VoteToChoice associé à la valeur
value de l'attribut vote.
sizeVoteVoteToChoice
int sizeVoteVoteToChoice()
- Returns:
- Le nombre d'éléments de la collection vote.
isVoteVoteToChoiceEmpty
boolean isVoteVoteToChoiceEmpty()
- Returns:
true si la collection voteVoteToChoice 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.
Copyright © 2009-2010 CodeLutin. All Rights Reserved.