org.chorem.pollen.business.persistence
Interface Vote

All Superinterfaces:
Serializable, org.nuiton.topia.persistence.TopiaEntity
All Known Implementing Classes:
VoteAbstract, VoteImpl

public interface Vote
extends org.nuiton.topia.persistence.TopiaEntity


Field Summary
static String PROPERTY_ANONYMOUS
           
static String PROPERTY_CHOICE_VOTE_TO_CHOICE
           
static String PROPERTY_COMMENT
           
static String PROPERTY_POLL_ACCOUNT
           
static String PROPERTY_VOTING_LIST
           
static String PROPERTY_WEIGHT
           
 
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
 
Method Summary
 void addAllChoiceVoteToChoice(List<VoteToChoice> choiceVoteToChoice)
           
 void addChoiceVoteToChoice(VoteToChoice choiceVoteToChoice)
           
 void clearChoiceVoteToChoice()
           
 List<VoteToChoice> getChoiceVoteToChoice()
           
 VoteToChoice getChoiceVoteToChoice(Choice choice)
           
 VoteToChoice getChoiceVoteToChoiceByTopiaId(String topiaId)
           
 String getComment()
           
 PollAccount getPollAccount()
           
 VotingList getVotingList()
           
 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 setVotingList(VotingList votingList)
           
 void setWeight(double weight)
           
 int sizeChoiceVoteToChoice()
           
 
Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity
accept, addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getAggregate, getComposite, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion
 

Field Detail

PROPERTY_WEIGHT

static final String PROPERTY_WEIGHT
See Also:
Constant Field Values

PROPERTY_COMMENT

static final String PROPERTY_COMMENT
See Also:
Constant Field Values

PROPERTY_ANONYMOUS

static final String PROPERTY_ANONYMOUS
See Also:
Constant Field Values

PROPERTY_CHOICE_VOTE_TO_CHOICE

static final String PROPERTY_CHOICE_VOTE_TO_CHOICE
See Also:
Constant Field Values

PROPERTY_POLL_ACCOUNT

static final String PROPERTY_POLL_ACCOUNT
See Also:
Constant Field Values

PROPERTY_VOTING_LIST

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

setWeight

void setWeight(double weight)

getWeight

double getWeight()

setComment

void setComment(String comment)

getComment

String getComment()

setAnonymous

void setAnonymous(boolean anonymous)

isAnonymous

boolean isAnonymous()

addChoiceVoteToChoice

void addChoiceVoteToChoice(VoteToChoice choiceVoteToChoice)

addAllChoiceVoteToChoice

void addAllChoiceVoteToChoice(List<VoteToChoice> choiceVoteToChoice)

setChoiceVoteToChoice

void setChoiceVoteToChoice(List<VoteToChoice> choiceVoteToChoice)

removeChoiceVoteToChoice

void removeChoiceVoteToChoice(VoteToChoice choiceVoteToChoice)

clearChoiceVoteToChoice

void clearChoiceVoteToChoice()

getChoiceVoteToChoice

List<VoteToChoice> getChoiceVoteToChoice()

getChoiceVoteToChoiceByTopiaId

VoteToChoice getChoiceVoteToChoiceByTopiaId(String topiaId)

getChoiceVoteToChoice

VoteToChoice getChoiceVoteToChoice(Choice choice)

sizeChoiceVoteToChoice

int sizeChoiceVoteToChoice()

isChoiceVoteToChoiceEmpty

boolean isChoiceVoteToChoiceEmpty()

setPollAccount

void setPollAccount(PollAccount pollAccount)

getPollAccount

PollAccount getPollAccount()

setVotingList

void setVotingList(VotingList votingList)

getVotingList

VotingList getVotingList()


Copyright © 2009-2012 CodeLutin. All Rights Reserved.