org.chorem.pollen.business.persistence
Class PollAbstract

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaEntityAbstract
      extended by org.chorem.pollen.business.persistence.PollAbstract
All Implemented Interfaces:
java.io.Serializable, Poll, org.nuiton.topia.persistence.TopiaEntity
Direct Known Subclasses:
PollImpl

public abstract class PollAbstract
extends org.nuiton.topia.persistence.TopiaEntityAbstract
implements Poll

Implantation POJO pour l'entité Poll.

See Also:
Serialized Form

Field Summary
 java.lang.Boolean anonymous
           
 java.lang.Boolean anonymousVoteAllowed
           
 java.util.Date beginChoiceDate
           
 java.util.Date beginDate
           
 java.util.List<Choice> choice
           
 java.lang.Boolean choiceAddAllowed
           
 ChoiceType choiceType
           
 java.lang.Boolean closed
           
 java.util.List<Comment> comment
           
 java.lang.Boolean continuousResults
           
 PollAccount creator
           
 java.lang.String description
           
 java.util.Date endDate
           
 int maxChoiceNb
           
 java.lang.String pollId
           
 PollType pollType
           
 java.util.List<PreventRule> preventRule
           
 java.lang.Boolean publicResults
           
 java.util.List<Result> result
           
 java.lang.String title
           
 java.util.List<Vote> vote
           
 VoteCounting voteCounting
           
 java.util.List<VotingList> votingList
           
 
Fields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables
 
Fields inherited from interface org.chorem.pollen.business.persistence.Poll
ANONYMOUS, ANONYMOUS_VOTE_ALLOWED, BEGIN_CHOICE_DATE, BEGIN_DATE, CHOICE, CHOICE_ADD_ALLOWED, CHOICE_TYPE, CLOSED, COMMENT, CONTINUOUS_RESULTS, CREATOR, DESCRIPTION, END_DATE, MAX_CHOICE_NB, POLL_ID, POLL_TYPE, PREVENT_RULE, PUBLIC_RESULTS, RESULT, TITLE, VOTE, VOTE_COUNTING, VOTING_LIST
 
Constructor Summary
PollAbstract()
          Constructeur de PollAbstract par défaut.
 
Method Summary
 void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
          Envoi via les methodes du visitor l'ensemble des champs de l'entity avec leur nom, type et valeur.
 void addAllChoice(java.util.List<Choice> values)
           
 void addAllComment(java.util.List<Comment> values)
           
 void addAllPreventRule(java.util.List<PreventRule> values)
           
 void addAllResult(java.util.List<Result> values)
           
 void addAllVote(java.util.List<Vote> values)
           
 void addAllVotingList(java.util.List<VotingList> values)
           
 void addChoice(Choice choice)
           
 void addComment(Comment comment)
           
 void addPreventRule(PreventRule preventRule)
           
 void addResult(Result result)
           
 void addVote(Vote vote)
           
 void addVotingList(VotingList votingList)
           
 void clearChoice()
          Vide la Collection de choice.
 void clearComment()
          Vide la Collection de comment.
 void clearPreventRule()
          Vide la Collection de preventRule.
 void clearResult()
          Vide la Collection de result.
 void clearVote()
          Vide la Collection de vote.
 void clearVotingList()
          Vide la Collection de votingList.
 void delete()
           
 java.util.List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
           
 java.lang.Boolean getAnonymous()
           
 java.lang.Boolean getAnonymousVoteAllowed()
           
 java.util.Date getBeginChoiceDate()
           
 java.util.Date getBeginDate()
           
 java.util.List<Choice> getChoice()
           
 java.lang.Boolean getChoiceAddAllowed()
           
 Choice getChoiceByTopiaId(java.lang.String topiaId)
          Recupère l'attribut choice à partir de son topiaId.
 ChoiceType getChoiceType()
           
 java.lang.Boolean getClosed()
           
 java.util.List<Comment> getComment()
           
 Comment getCommentByTopiaId(java.lang.String topiaId)
          Recupère l'attribut comment à partir de son topiaId.
 java.util.List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
           
 java.lang.Boolean getContinuousResults()
           
 PollAccount getCreator()
           
 java.lang.String getDescription()
           
 java.util.Date getEndDate()
           
 int getMaxChoiceNb()
           
 java.lang.String getPollId()
           
 PollType getPollType()
           
 java.util.List<PreventRule> getPreventRule()
           
 PreventRule getPreventRuleByTopiaId(java.lang.String topiaId)
          Recupère l'attribut preventRule à partir de son topiaId.
 java.lang.Boolean getPublicResults()
           
 java.util.List<Result> getResult()
           
 Result getResultByTopiaId(java.lang.String topiaId)
          Recupère l'attribut result à partir de son topiaId.
 java.lang.String getTitle()
           
 java.util.List<Vote> getVote()
           
 Vote getVoteByTopiaId(java.lang.String topiaId)
          Recupère l'attribut vote à partir de son topiaId.
 VoteCounting getVoteCounting()
           
 java.util.List<VotingList> getVotingList()
           
 VotingList getVotingListByTopiaId(java.lang.String topiaId)
          Recupère l'attribut votingList à partir de son topiaId.
 boolean isChoiceEmpty()
           
 boolean isCommentEmpty()
           
 boolean isPreventRuleEmpty()
           
 boolean isResultEmpty()
           
 boolean isVoteEmpty()
           
 boolean isVotingListEmpty()
           
 void removeChoice(Choice value)
           
 void removeComment(Comment value)
           
 void removePreventRule(PreventRule value)
           
 void removeResult(Result value)
           
 void removeVote(Vote value)
           
 void removeVotingList(VotingList value)
           
 void setAnonymous(java.lang.Boolean value)
           
 void setAnonymousVoteAllowed(java.lang.Boolean value)
           
 void setBeginChoiceDate(java.util.Date value)
           
 void setBeginDate(java.util.Date value)
           
 void setChoice(java.util.List<Choice> values)
           
 void setChoiceAddAllowed(java.lang.Boolean value)
           
 void setChoiceType(ChoiceType value)
           
 void setClosed(java.lang.Boolean value)
           
 void setComment(java.util.List<Comment> values)
           
 void setContinuousResults(java.lang.Boolean value)
           
 void setCreator(PollAccount value)
           
 void setDescription(java.lang.String value)
           
 void setEndDate(java.util.Date value)
           
 void setMaxChoiceNb(int value)
           
 void setPollId(java.lang.String value)
           
 void setPollType(PollType value)
           
 void setPreventRule(java.util.List<PreventRule> values)
           
 void setPublicResults(java.lang.Boolean value)
           
 void setResult(java.util.List<Result> values)
           
 void setTitle(java.lang.String value)
           
 void setVote(java.util.List<Vote> values)
           
 void setVoteCounting(VoteCounting value)
           
 void setVotingList(java.util.List<VotingList> values)
           
 int sizeChoice()
           
 int sizeComment()
           
 int sizePreventRule()
           
 int sizeResult()
           
 int sizeVote()
           
 int sizeVotingList()
           
 java.lang.String toString()
           
 void update()
           
 
Methods inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, equals, fireOnPostRead, fireOnPostRead, fireOnPostWrite, fireOnPostWrite, fireOnPreRead, fireOnPreWrite, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, hashCode, postCreate, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaContext, setTopiaCreateDate, setTopiaId, setTopiaVersion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, postCreate, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion
 

Field Detail

pollId

public java.lang.String pollId

title

public java.lang.String title

description

public java.lang.String description

beginChoiceDate

public java.util.Date beginChoiceDate

beginDate

public java.util.Date beginDate

endDate

public java.util.Date endDate

maxChoiceNb

public int maxChoiceNb

closed

public java.lang.Boolean closed

choiceAddAllowed

public java.lang.Boolean choiceAddAllowed

anonymousVoteAllowed

public java.lang.Boolean anonymousVoteAllowed

anonymous

public java.lang.Boolean anonymous

publicResults

public java.lang.Boolean publicResults

continuousResults

public java.lang.Boolean continuousResults

vote

public java.util.List<Vote> vote

choice

public java.util.List<Choice> choice

result

public java.util.List<Result> result

creator

public PollAccount creator

comment

public java.util.List<Comment> comment

preventRule

public java.util.List<PreventRule> preventRule

votingList

public java.util.List<VotingList> votingList

pollType

public PollType pollType

choiceType

public ChoiceType choiceType

voteCounting

public VoteCounting voteCounting
Constructor Detail

PollAbstract

public PollAbstract()
Constructeur de PollAbstract par défaut.

Method Detail

update

public void update()
            throws org.nuiton.topia.TopiaException
Specified by:
update in interface org.nuiton.topia.persistence.TopiaEntity
Overrides:
update in class org.nuiton.topia.persistence.TopiaEntityAbstract
Throws:
org.nuiton.topia.TopiaException

delete

public void delete()
            throws org.nuiton.topia.TopiaException
Specified by:
delete in interface org.nuiton.topia.persistence.TopiaEntity
Overrides:
delete in class org.nuiton.topia.persistence.TopiaEntityAbstract
Throws:
org.nuiton.topia.TopiaException

accept

public void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
            throws org.nuiton.topia.TopiaException
Envoi via les methodes du visitor l'ensemble des champs de l'entity avec leur nom, type et valeur.

Specified by:
accept in interface org.nuiton.topia.persistence.TopiaEntity
Parameters:
visitor - le visiteur de l'entite.
Throws:
org.nuiton.topia.TopiaException - if any pb while visit

getAggregate

public java.util.List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
                                                                      throws org.nuiton.topia.TopiaException
Specified by:
getAggregate in interface org.nuiton.topia.persistence.TopiaEntity
Overrides:
getAggregate in class org.nuiton.topia.persistence.TopiaEntityAbstract
Throws:
org.nuiton.topia.TopiaException

getComposite

public java.util.List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
                                                                      throws org.nuiton.topia.TopiaException
Specified by:
getComposite in interface org.nuiton.topia.persistence.TopiaEntity
Overrides:
getComposite in class org.nuiton.topia.persistence.TopiaEntityAbstract
Throws:
org.nuiton.topia.TopiaException

setPollId

public void setPollId(java.lang.String value)
Specified by:
setPollId in interface Poll
Parameters:
value - La valeur de l'attribut pollId à positionner.

getPollId

public java.lang.String getPollId()
Specified by:
getPollId in interface Poll
Returns:
La valeur de l'attribut pollId.

setTitle

public void setTitle(java.lang.String value)
Specified by:
setTitle in interface Poll
Parameters:
value - La valeur de l'attribut title à positionner.

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface Poll
Returns:
La valeur de l'attribut title.

setDescription

public void setDescription(java.lang.String value)
Specified by:
setDescription in interface Poll
Parameters:
value - La valeur de l'attribut description à positionner.

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface Poll
Returns:
La valeur de l'attribut description.

setBeginChoiceDate

public void setBeginChoiceDate(java.util.Date value)
Specified by:
setBeginChoiceDate in interface Poll
Parameters:
value - La valeur de l'attribut beginChoiceDate à positionner.

getBeginChoiceDate

public java.util.Date getBeginChoiceDate()
Specified by:
getBeginChoiceDate in interface Poll
Returns:
La valeur de l'attribut beginChoiceDate.

setBeginDate

public void setBeginDate(java.util.Date value)
Specified by:
setBeginDate in interface Poll
Parameters:
value - La valeur de l'attribut beginDate à positionner.

getBeginDate

public java.util.Date getBeginDate()
Specified by:
getBeginDate in interface Poll
Returns:
La valeur de l'attribut beginDate.

setEndDate

public void setEndDate(java.util.Date value)
Specified by:
setEndDate in interface Poll
Parameters:
value - La valeur de l'attribut endDate à positionner.

getEndDate

public java.util.Date getEndDate()
Specified by:
getEndDate in interface Poll
Returns:
La valeur de l'attribut endDate.

setMaxChoiceNb

public void setMaxChoiceNb(int value)
Specified by:
setMaxChoiceNb in interface Poll
Parameters:
value - La valeur de l'attribut maxChoiceNb à positionner.

getMaxChoiceNb

public int getMaxChoiceNb()
Specified by:
getMaxChoiceNb in interface Poll
Returns:
La valeur de l'attribut maxChoiceNb.

setClosed

public void setClosed(java.lang.Boolean value)
Specified by:
setClosed in interface Poll
Parameters:
value - La valeur de l'attribut closed à positionner.

getClosed

public java.lang.Boolean getClosed()
Specified by:
getClosed in interface Poll
Returns:
La valeur de l'attribut closed.

setChoiceAddAllowed

public void setChoiceAddAllowed(java.lang.Boolean value)
Specified by:
setChoiceAddAllowed in interface Poll
Parameters:
value - La valeur de l'attribut choiceAddAllowed à positionner.

getChoiceAddAllowed

public java.lang.Boolean getChoiceAddAllowed()
Specified by:
getChoiceAddAllowed in interface Poll
Returns:
La valeur de l'attribut choiceAddAllowed.

setAnonymousVoteAllowed

public void setAnonymousVoteAllowed(java.lang.Boolean value)
Specified by:
setAnonymousVoteAllowed in interface Poll
Parameters:
value - La valeur de l'attribut anonymousVoteAllowed à positionner.

getAnonymousVoteAllowed

public java.lang.Boolean getAnonymousVoteAllowed()
Specified by:
getAnonymousVoteAllowed in interface Poll
Returns:
La valeur de l'attribut anonymousVoteAllowed.

setAnonymous

public void setAnonymous(java.lang.Boolean value)
Specified by:
setAnonymous in interface Poll
Parameters:
value - La valeur de l'attribut anonymous à positionner.

getAnonymous

public java.lang.Boolean getAnonymous()
Specified by:
getAnonymous in interface Poll
Returns:
La valeur de l'attribut anonymous.

setPublicResults

public void setPublicResults(java.lang.Boolean value)
Specified by:
setPublicResults in interface Poll
Parameters:
value - La valeur de l'attribut publicResults à positionner.

getPublicResults

public java.lang.Boolean getPublicResults()
Specified by:
getPublicResults in interface Poll
Returns:
La valeur de l'attribut publicResults.

setContinuousResults

public void setContinuousResults(java.lang.Boolean value)
Specified by:
setContinuousResults in interface Poll
Parameters:
value - La valeur de l'attribut continuousResults à positionner.

getContinuousResults

public java.lang.Boolean getContinuousResults()
Specified by:
getContinuousResults in interface Poll
Returns:
La valeur de l'attribut continuousResults.

addVote

public void addVote(Vote vote)
Specified by:
addVote in interface Poll
Parameters:
vote - L'instance de vote à ajouter.

addAllVote

public void addAllVote(java.util.List<Vote> values)
Specified by:
addAllVote in interface Poll
Parameters:
values - Les instances de vote à ajouter.

getVoteByTopiaId

public Vote getVoteByTopiaId(java.lang.String topiaId)
Description copied from interface: Poll
Recupère l'attribut vote à partir de son topiaId.

Specified by:
getVoteByTopiaId in interface Poll
Parameters:
topiaId - le topia id de l'entité recherchée
Returns:
l'attribut recherché, ou null s'il n'existe pas.

setVote

public void setVote(java.util.List<Vote> values)
Specified by:
setVote in interface Poll
Parameters:
values - La Collection de vote à positionner.

removeVote

public void removeVote(Vote value)
Specified by:
removeVote in interface Poll
Parameters:
value - L'instance de vote à retirer.

clearVote

public void clearVote()
Description copied from interface: Poll
Vide la Collection de vote.

Specified by:
clearVote in interface Poll

getVote

public java.util.List<Vote> getVote()
Specified by:
getVote in interface Poll
Returns:
La Liste de vote.

sizeVote

public int sizeVote()
Specified by:
sizeVote in interface Poll
Returns:
Le nombre d'éléments de la collection vote.

isVoteEmpty

public boolean isVoteEmpty()
Specified by:
isVoteEmpty in interface Poll
Returns:
true si la collection vote est vide.

addChoice

public void addChoice(Choice choice)
Specified by:
addChoice in interface Poll
Parameters:
choice - L'instance de choice à ajouter.

addAllChoice

public void addAllChoice(java.util.List<Choice> values)
Specified by:
addAllChoice in interface Poll
Parameters:
values - Les instances de choice à ajouter.

getChoiceByTopiaId

public Choice getChoiceByTopiaId(java.lang.String topiaId)
Description copied from interface: Poll
Recupère l'attribut choice à partir de son topiaId.

Specified by:
getChoiceByTopiaId in interface Poll
Parameters:
topiaId - le topia id de l'entité recherchée
Returns:
l'attribut recherché, ou null s'il n'existe pas.

setChoice

public void setChoice(java.util.List<Choice> values)
Specified by:
setChoice in interface Poll
Parameters:
values - La Collection de choice à positionner.

removeChoice

public void removeChoice(Choice value)
Specified by:
removeChoice in interface Poll
Parameters:
value - L'instance de choice à retirer.

clearChoice

public void clearChoice()
Description copied from interface: Poll
Vide la Collection de choice.

Specified by:
clearChoice in interface Poll

getChoice

public java.util.List<Choice> getChoice()
Specified by:
getChoice in interface Poll
Returns:
La Liste de choice.

sizeChoice

public int sizeChoice()
Specified by:
sizeChoice in interface Poll
Returns:
Le nombre d'éléments de la collection choice.

isChoiceEmpty

public boolean isChoiceEmpty()
Specified by:
isChoiceEmpty in interface Poll
Returns:
true si la collection choice est vide.

addResult

public void addResult(Result result)
Specified by:
addResult in interface Poll
Parameters:
result - L'instance de result à ajouter.

addAllResult

public void addAllResult(java.util.List<Result> values)
Specified by:
addAllResult in interface Poll
Parameters:
values - Les instances de result à ajouter.

getResultByTopiaId

public Result getResultByTopiaId(java.lang.String topiaId)
Description copied from interface: Poll
Recupère l'attribut result à partir de son topiaId.

Specified by:
getResultByTopiaId in interface Poll
Parameters:
topiaId - le topia id de l'entité recherchée
Returns:
l'attribut recherché, ou null s'il n'existe pas.

setResult

public void setResult(java.util.List<Result> values)
Specified by:
setResult in interface Poll
Parameters:
values - La Collection de result à positionner.

removeResult

public void removeResult(Result value)
Specified by:
removeResult in interface Poll
Parameters:
value - L'instance de result à retirer.

clearResult

public void clearResult()
Description copied from interface: Poll
Vide la Collection de result.

Specified by:
clearResult in interface Poll

getResult

public java.util.List<Result> getResult()
Specified by:
getResult in interface Poll
Returns:
La Liste de result.

sizeResult

public int sizeResult()
Specified by:
sizeResult in interface Poll
Returns:
Le nombre d'éléments de la collection result.

isResultEmpty

public boolean isResultEmpty()
Specified by:
isResultEmpty in interface Poll
Returns:
true si la collection result est vide.

setCreator

public void setCreator(PollAccount value)
Specified by:
setCreator in interface Poll
Parameters:
value - La valeur de l'attribut creator à positionner.

getCreator

public PollAccount getCreator()
Specified by:
getCreator in interface Poll
Returns:
La valeur de l'attribut creator.

addComment

public void addComment(Comment comment)
Specified by:
addComment in interface Poll
Parameters:
comment - L'instance de comment à ajouter.

addAllComment

public void addAllComment(java.util.List<Comment> values)
Specified by:
addAllComment in interface Poll
Parameters:
values - Les instances de comment à ajouter.

getCommentByTopiaId

public Comment getCommentByTopiaId(java.lang.String topiaId)
Description copied from interface: Poll
Recupère l'attribut comment à partir de son topiaId.

Specified by:
getCommentByTopiaId in interface Poll
Parameters:
topiaId - le topia id de l'entité recherchée
Returns:
l'attribut recherché, ou null s'il n'existe pas.

setComment

public void setComment(java.util.List<Comment> values)
Specified by:
setComment in interface Poll
Parameters:
values - La Collection de comment à positionner.

removeComment

public void removeComment(Comment value)
Specified by:
removeComment in interface Poll
Parameters:
value - L'instance de comment à retirer.

clearComment

public void clearComment()
Description copied from interface: Poll
Vide la Collection de comment.

Specified by:
clearComment in interface Poll

getComment

public java.util.List<Comment> getComment()
Specified by:
getComment in interface Poll
Returns:
La Liste de comment.

sizeComment

public int sizeComment()
Specified by:
sizeComment in interface Poll
Returns:
Le nombre d'éléments de la collection comment.

isCommentEmpty

public boolean isCommentEmpty()
Specified by:
isCommentEmpty in interface Poll
Returns:
true si la collection comment est vide.

addPreventRule

public void addPreventRule(PreventRule preventRule)
Specified by:
addPreventRule in interface Poll
Parameters:
preventRule - L'instance de preventRule à ajouter.

addAllPreventRule

public void addAllPreventRule(java.util.List<PreventRule> values)
Specified by:
addAllPreventRule in interface Poll
Parameters:
values - Les instances de preventRule à ajouter.

getPreventRuleByTopiaId

public PreventRule getPreventRuleByTopiaId(java.lang.String topiaId)
Description copied from interface: Poll
Recupère l'attribut preventRule à partir de son topiaId.

Specified by:
getPreventRuleByTopiaId in interface Poll
Parameters:
topiaId - le topia id de l'entité recherchée
Returns:
l'attribut recherché, ou null s'il n'existe pas.

setPreventRule

public void setPreventRule(java.util.List<PreventRule> values)
Specified by:
setPreventRule in interface Poll
Parameters:
values - La Collection de preventRule à positionner.

removePreventRule

public void removePreventRule(PreventRule value)
Specified by:
removePreventRule in interface Poll
Parameters:
value - L'instance de preventRule à retirer.

clearPreventRule

public void clearPreventRule()
Description copied from interface: Poll
Vide la Collection de preventRule.

Specified by:
clearPreventRule in interface Poll

getPreventRule

public java.util.List<PreventRule> getPreventRule()
Specified by:
getPreventRule in interface Poll
Returns:
La Liste de preventRule.

sizePreventRule

public int sizePreventRule()
Specified by:
sizePreventRule in interface Poll
Returns:
Le nombre d'éléments de la collection preventRule.

isPreventRuleEmpty

public boolean isPreventRuleEmpty()
Specified by:
isPreventRuleEmpty in interface Poll
Returns:
true si la collection preventRule est vide.

addVotingList

public void addVotingList(VotingList votingList)
Specified by:
addVotingList in interface Poll
Parameters:
votingList - L'instance de votingList à ajouter.

addAllVotingList

public void addAllVotingList(java.util.List<VotingList> values)
Specified by:
addAllVotingList in interface Poll
Parameters:
values - Les instances de votingList à ajouter.

getVotingListByTopiaId

public VotingList getVotingListByTopiaId(java.lang.String topiaId)
Description copied from interface: Poll
Recupère l'attribut votingList à partir de son topiaId.

Specified by:
getVotingListByTopiaId in interface Poll
Parameters:
topiaId - le topia id de l'entité recherchée
Returns:
l'attribut recherché, ou null s'il n'existe pas.

setVotingList

public void setVotingList(java.util.List<VotingList> values)
Specified by:
setVotingList in interface Poll
Parameters:
values - La Collection de votingList à positionner.

removeVotingList

public void removeVotingList(VotingList value)
Specified by:
removeVotingList in interface Poll
Parameters:
value - L'instance de votingList à retirer.

clearVotingList

public void clearVotingList()
Description copied from interface: Poll
Vide la Collection de votingList.

Specified by:
clearVotingList in interface Poll

getVotingList

public java.util.List<VotingList> getVotingList()
Specified by:
getVotingList in interface Poll
Returns:
La Liste de votingList.

sizeVotingList

public int sizeVotingList()
Specified by:
sizeVotingList in interface Poll
Returns:
Le nombre d'éléments de la collection votingList.

isVotingListEmpty

public boolean isVotingListEmpty()
Specified by:
isVotingListEmpty in interface Poll
Returns:
true si la collection votingList est vide.

setPollType

public void setPollType(PollType value)
Specified by:
setPollType in interface Poll
Parameters:
value - La valeur de l'attribut pollType à positionner.

getPollType

public PollType getPollType()
Specified by:
getPollType in interface Poll
Returns:
La valeur de l'attribut pollType.

setChoiceType

public void setChoiceType(ChoiceType value)
Specified by:
setChoiceType in interface Poll
Parameters:
value - La valeur de l'attribut choiceType à positionner.

getChoiceType

public ChoiceType getChoiceType()
Specified by:
getChoiceType in interface Poll
Returns:
La valeur de l'attribut choiceType.

setVoteCounting

public void setVoteCounting(VoteCounting value)
Specified by:
setVoteCounting in interface Poll
Parameters:
value - La valeur de l'attribut voteCounting à positionner.

getVoteCounting

public VoteCounting getVoteCounting()
Specified by:
getVoteCounting in interface Poll
Returns:
La valeur de l'attribut voteCounting.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009 CodeLutin. All Rights Reserved.