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

DESCRIPTION

static final String DESCRIPTION
See Also:
Constant Field Values

VALIDATE

static final String VALIDATE
See Also:
Constant Field Values

VOTE_VOTE_TO_CHOICE

static final String VOTE_VOTE_TO_CHOICE
See Also:
Constant Field Values

POLL

static final String POLL
See Also:
Constant Field Values
Method Detail

setName

void setName(String name)
Parameters:
name - La valeur de l'attribut name à positionner.

getName

String getName()
Returns:
La valeur de l'attribut name.

setDescription

void setDescription(String description)
Parameters:
description - La valeur de l'attribut description à positionner.

getDescription

String getDescription()
Returns:
La valeur de l'attribut description.

setValidate

void setValidate(Boolean validate)
Parameters:
validate - La valeur de l'attribut validate à positionner.

getValidate

Boolean getValidate()
Returns:
La valeur de l'attribut validate.

addVoteVoteToChoice

void addVoteVoteToChoice(VoteToChoice voteToChoice)
Parameters:
voteToChoice - L'instance de VoteToChoice à ajouter.

addAllVoteVoteToChoice

void addAllVoteVoteToChoice(List<VoteToChoice> voteToChoice)
Parameters:
voteToChoice - Les instances de VoteToChoice à ajouter.

setVoteVoteToChoice

void setVoteVoteToChoice(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

List<VoteToChoice> getVoteVoteToChoice()
Returns:
La liste des attributs VoteToChoice.

getVoteVoteToChoiceByTopiaId

VoteToChoice getVoteVoteToChoiceByTopiaId(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.