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


Field Summary
static java.lang.String DESCRIPTION
           
static java.lang.String NAME
           
static java.lang.String POLL
           
static java.lang.String VALIDATE
           
static java.lang.String VOTE_VOTE_TO_CHOICE
           
 
Method Summary
 void addAllVoteVoteToChoice(java.util.List<VoteToChoice> voteToChoice)
           
 void addVoteVoteToChoice(VoteToChoice voteToChoice)
           
 void clearVoteVoteToChoice()
          Vide la Collection de VoteToChoice.
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 Poll getPoll()
           
 java.lang.Boolean getValidate()
           
 java.util.List<VoteToChoice> getVoteVoteToChoice()
           
 VoteToChoice getVoteVoteToChoice(Vote value)
           
 VoteToChoice getVoteVoteToChoiceByTopiaId(java.lang.String topiaId)
          Recupère l'attribut vote à partir de son topiaId.
 boolean isVoteVoteToChoiceEmpty()
           
 void removeVoteVoteToChoice(VoteToChoice voteToChoice)
           
 void setDescription(java.lang.String description)
           
 void setName(java.lang.String name)
           
 void setPoll(Poll poll)
           
 void setValidate(java.lang.Boolean validate)
           
 void setVoteVoteToChoice(java.util.List<VoteToChoice> voteToChoice)
           
 int sizeVoteVoteToChoice()
           
 
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
 

Field Detail

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
Method Detail

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.