public abstract class VoteAbstract extends org.nuiton.topia.persistence.TopiaEntityAbstract implements Vote
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
anonymous
Nom de l'attribut en BD : anonymous
|
protected List<VoteToChoice> |
choiceVoteToChoice
Nom de l'attribut en BD : choice
|
protected String |
comment
Nom de l'attribut en BD : comment
|
protected PollAccount |
pollAccount
Nom de l'attribut en BD : pollAccount
|
protected double |
weight
Nom de l'attribut en BD : weight
|
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoablesPROPERTY_ANONYMOUS, PROPERTY_CHOICE_VOTE_TO_CHOICE, PROPERTY_COMMENT, PROPERTY_POLL_ACCOUNT, PROPERTY_WEIGHT| Constructor and Description |
|---|
VoteAbstract() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(org.nuiton.topia.persistence.EntityVisitor visitor) |
void |
addAllChoiceVoteToChoice(List<VoteToChoice> choiceVoteToChoice) |
void |
addChoiceVoteToChoice(VoteToChoice choiceVoteToChoice) |
void |
clearChoiceVoteToChoice() |
List<org.nuiton.topia.persistence.TopiaEntity> |
getAggregate() |
List<VoteToChoice> |
getChoiceVoteToChoice() |
VoteToChoice |
getChoiceVoteToChoice(Choice choice) |
VoteToChoice |
getChoiceVoteToChoiceByTopiaId(String topiaId) |
String |
getComment() |
List<org.nuiton.topia.persistence.TopiaEntity> |
getComposite() |
PollAccount |
getPollAccount() |
double |
getWeight() |
boolean |
isAnonymous() |
boolean |
isChoiceVoteToChoiceEmpty() |
void |
removeChoiceVoteToChoice(VoteToChoice choiceVoteToChoice) |
void |
setAnonymous(boolean anonymous) |
void |
setChoiceVoteToChoice(List<VoteToChoice> choiceVoteToChoice) |
void |
setComment(String comment) |
void |
setPollAccount(PollAccount pollAccount) |
void |
setWeight(double weight) |
int |
sizeChoiceVoteToChoice() |
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, equals, fireOnPostRead, fireOnPostRead, fireOnPostWrite, fireOnPostWrite, fireOnPreRead, fireOnPreWrite, getReadPropertyChangeSupport, getReadVetoableChangeSupport, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, getWritePropertyChangeSupport, getWriteVetoableChangeSupport, hashCode, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaContext, setTopiaCreateDate, setTopiaId, setTopiaVersionclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersionprotected double weight
protected String comment
protected boolean anonymous
protected List<VoteToChoice> choiceVoteToChoice
protected PollAccount pollAccount
public void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
throws org.nuiton.topia.TopiaException
accept in interface org.nuiton.topia.persistence.TopiaEntityorg.nuiton.topia.TopiaExceptionpublic void setComment(String comment)
setComment in interface Votepublic String getComment()
getComment in interface Votepublic void setAnonymous(boolean anonymous)
setAnonymous in interface Votepublic boolean isAnonymous()
isAnonymous in interface Votepublic void addChoiceVoteToChoice(VoteToChoice choiceVoteToChoice)
addChoiceVoteToChoice in interface Votepublic void addAllChoiceVoteToChoice(List<VoteToChoice> choiceVoteToChoice)
addAllChoiceVoteToChoice in interface Votepublic void setChoiceVoteToChoice(List<VoteToChoice> choiceVoteToChoice)
setChoiceVoteToChoice in interface Votepublic void removeChoiceVoteToChoice(VoteToChoice choiceVoteToChoice)
removeChoiceVoteToChoice in interface Votepublic void clearChoiceVoteToChoice()
clearChoiceVoteToChoice in interface Votepublic List<VoteToChoice> getChoiceVoteToChoice()
getChoiceVoteToChoice in interface Votepublic VoteToChoice getChoiceVoteToChoiceByTopiaId(String topiaId)
getChoiceVoteToChoiceByTopiaId in interface Votepublic VoteToChoice getChoiceVoteToChoice(Choice choice)
getChoiceVoteToChoice in interface Votepublic int sizeChoiceVoteToChoice()
sizeChoiceVoteToChoice in interface Votepublic boolean isChoiceVoteToChoiceEmpty()
isChoiceVoteToChoiceEmpty in interface Votepublic void setPollAccount(PollAccount pollAccount)
setPollAccount in interface Votepublic PollAccount getPollAccount()
getPollAccount in interface Votepublic List<org.nuiton.topia.persistence.TopiaEntity> getAggregate() throws org.nuiton.topia.TopiaException
getAggregate in interface org.nuiton.topia.persistence.TopiaEntitygetAggregate in class org.nuiton.topia.persistence.TopiaEntityAbstractorg.nuiton.topia.TopiaExceptionpublic List<org.nuiton.topia.persistence.TopiaEntity> getComposite() throws org.nuiton.topia.TopiaException
getComposite in interface org.nuiton.topia.persistence.TopiaEntitygetComposite in class org.nuiton.topia.persistence.TopiaEntityAbstractorg.nuiton.topia.TopiaExceptionCopyright © 2009-2013 CodeLutin. All Rights Reserved.