org.chorem.pollen.business.persistence
Class VoteAbstract
java.lang.Object
org.nuiton.topia.persistence.TopiaEntityAbstract
org.chorem.pollen.business.persistence.VoteAbstract
- All Implemented Interfaces:
- Serializable, Vote, org.nuiton.topia.persistence.TopiaEntity
- Direct Known Subclasses:
- VoteImpl
public abstract class VoteAbstract
- extends org.nuiton.topia.persistence.TopiaEntityAbstract
- implements Vote
- See Also:
- Serialized Form
| Fields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract |
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables |
| Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity |
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION |
| 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 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 |
weight
protected double weight
- Nom de l'attribut en BD : weight
comment
protected String comment
- Nom de l'attribut en BD : comment
anonymous
protected boolean anonymous
- Nom de l'attribut en BD : anonymous
choiceVoteToChoice
protected List<VoteToChoice> choiceVoteToChoice
- Nom de l'attribut en BD : choice
pollAccount
protected PollAccount pollAccount
- Nom de l'attribut en BD : pollAccount
votingList
protected VotingList votingList
- Nom de l'attribut en BD : votingList
VoteAbstract
public VoteAbstract()
accept
public void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
throws org.nuiton.topia.TopiaException
- Specified by:
accept in interface org.nuiton.topia.persistence.TopiaEntity
- Throws:
org.nuiton.topia.TopiaException
setWeight
public void setWeight(double weight)
- Specified by:
setWeight in interface Vote
getWeight
public double getWeight()
- Specified by:
getWeight in interface Vote
setComment
public void setComment(String comment)
- Specified by:
setComment in interface Vote
getComment
public String getComment()
- Specified by:
getComment in interface Vote
setAnonymous
public void setAnonymous(boolean anonymous)
- Specified by:
setAnonymous in interface Vote
isAnonymous
public boolean isAnonymous()
- Specified by:
isAnonymous in interface Vote
addChoiceVoteToChoice
public void addChoiceVoteToChoice(VoteToChoice choiceVoteToChoice)
- Specified by:
addChoiceVoteToChoice in interface Vote
addAllChoiceVoteToChoice
public void addAllChoiceVoteToChoice(List<VoteToChoice> choiceVoteToChoice)
- Specified by:
addAllChoiceVoteToChoice in interface Vote
setChoiceVoteToChoice
public void setChoiceVoteToChoice(List<VoteToChoice> choiceVoteToChoice)
- Specified by:
setChoiceVoteToChoice in interface Vote
removeChoiceVoteToChoice
public void removeChoiceVoteToChoice(VoteToChoice choiceVoteToChoice)
- Specified by:
removeChoiceVoteToChoice in interface Vote
clearChoiceVoteToChoice
public void clearChoiceVoteToChoice()
- Specified by:
clearChoiceVoteToChoice in interface Vote
getChoiceVoteToChoice
public List<VoteToChoice> getChoiceVoteToChoice()
- Specified by:
getChoiceVoteToChoice in interface Vote
getChoiceVoteToChoiceByTopiaId
public VoteToChoice getChoiceVoteToChoiceByTopiaId(String topiaId)
- Specified by:
getChoiceVoteToChoiceByTopiaId in interface Vote
getChoiceVoteToChoice
public VoteToChoice getChoiceVoteToChoice(Choice choice)
- Specified by:
getChoiceVoteToChoice in interface Vote
sizeChoiceVoteToChoice
public int sizeChoiceVoteToChoice()
- Specified by:
sizeChoiceVoteToChoice in interface Vote
isChoiceVoteToChoiceEmpty
public boolean isChoiceVoteToChoiceEmpty()
- Specified by:
isChoiceVoteToChoiceEmpty in interface Vote
setPollAccount
public void setPollAccount(PollAccount pollAccount)
- Specified by:
setPollAccount in interface Vote
getPollAccount
public PollAccount getPollAccount()
- Specified by:
getPollAccount in interface Vote
setVotingList
public void setVotingList(VotingList votingList)
- Specified by:
setVotingList in interface Vote
getVotingList
public VotingList getVotingList()
- Specified by:
getVotingList in interface Vote
getAggregate
public 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 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
Copyright © 2009-2012 CodeLutin. All Rights Reserved.