|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.topia.persistence.TopiaEntityAbstract
org.chorem.pollen.business.persistence.VoteAbstract
public abstract class VoteAbstract
| Field Summary | |
|---|---|
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 Poll |
poll
Nom de l'attribut en BD : poll |
protected PollAccount |
pollAccount
Nom de l'attribut en BD : pollAccount |
protected VotingList |
votingList
Nom de l'attribut en BD : votingList |
protected double |
weight
Nom de l'attribut en BD : weight |
| 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.Vote |
|---|
PROPERTY_ANONYMOUS, PROPERTY_CHOICE_VOTE_TO_CHOICE, PROPERTY_COMMENT, PROPERTY_POLL, PROPERTY_POLL_ACCOUNT, PROPERTY_VOTING_LIST, PROPERTY_WEIGHT |
| Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity |
|---|
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION |
| Constructor Summary | |
|---|---|
VoteAbstract()
|
|
| Methods inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract |
|---|
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, setTopiaVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity |
|---|
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion |
| Field Detail |
|---|
protected double weight
protected String comment
protected boolean anonymous
protected List<VoteToChoice> choiceVoteToChoice
protected Poll poll
protected PollAccount pollAccount
protected VotingList votingList
| Constructor Detail |
|---|
public VoteAbstract()
| Method Detail |
|---|
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 setWeight(double weight)
setWeight in interface Votepublic double getWeight()
getWeight in interface Votepublic 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 setPoll(Poll poll)
setPoll in interface Votepublic Poll getPoll()
getPoll in interface Votepublic void setPollAccount(PollAccount pollAccount)
setPollAccount in interface Votepublic PollAccount getPollAccount()
getPollAccount in interface Votepublic void setVotingList(VotingList votingList)
setVotingList in interface Votepublic VotingList getVotingList()
getVotingList in interface Vote
public 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.TopiaException
public 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.TopiaException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||