org.chorem.pollen.business.persistence
Class VotingListAbstract
java.lang.Object
org.nuiton.topia.persistence.TopiaEntityAbstract
org.chorem.pollen.business.persistence.VotingListAbstract
- All Implemented Interfaces:
- Serializable, VotingList, org.nuiton.topia.persistence.TopiaEntity
- Direct Known Subclasses:
- VotingListImpl
public abstract class VotingListAbstract
- extends org.nuiton.topia.persistence.TopiaEntityAbstract
- implements VotingList
- 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 |
name
protected String name
- Nom de l'attribut en BD : name
weight
protected double weight
- Nom de l'attribut en BD : weight
pollAccountPersonToList
protected List<PersonToList> pollAccountPersonToList
- Nom de l'attribut en BD : pollAccount
poll
protected Poll poll
- Nom de l'attribut en BD : poll
vote
protected Vote vote
- Nom de l'attribut en BD : vote
VotingListAbstract
public VotingListAbstract()
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
setName
public void setName(String name)
- Specified by:
setName in interface VotingList
getName
public String getName()
- Specified by:
getName in interface VotingList
setWeight
public void setWeight(double weight)
- Specified by:
setWeight in interface VotingList
getWeight
public double getWeight()
- Specified by:
getWeight in interface VotingList
addPollAccountPersonToList
public void addPollAccountPersonToList(PersonToList pollAccountPersonToList)
- Specified by:
addPollAccountPersonToList in interface VotingList
addAllPollAccountPersonToList
public void addAllPollAccountPersonToList(List<PersonToList> pollAccountPersonToList)
- Specified by:
addAllPollAccountPersonToList in interface VotingList
setPollAccountPersonToList
public void setPollAccountPersonToList(List<PersonToList> pollAccountPersonToList)
- Specified by:
setPollAccountPersonToList in interface VotingList
removePollAccountPersonToList
public void removePollAccountPersonToList(PersonToList pollAccountPersonToList)
- Specified by:
removePollAccountPersonToList in interface VotingList
clearPollAccountPersonToList
public void clearPollAccountPersonToList()
- Specified by:
clearPollAccountPersonToList in interface VotingList
getPollAccountPersonToList
public List<PersonToList> getPollAccountPersonToList()
- Specified by:
getPollAccountPersonToList in interface VotingList
getPollAccountPersonToListByTopiaId
public PersonToList getPollAccountPersonToListByTopiaId(String topiaId)
- Specified by:
getPollAccountPersonToListByTopiaId in interface VotingList
getPollAccountPersonToList
public PersonToList getPollAccountPersonToList(PollAccount pollAccount)
- Specified by:
getPollAccountPersonToList in interface VotingList
sizePollAccountPersonToList
public int sizePollAccountPersonToList()
- Specified by:
sizePollAccountPersonToList in interface VotingList
isPollAccountPersonToListEmpty
public boolean isPollAccountPersonToListEmpty()
- Specified by:
isPollAccountPersonToListEmpty in interface VotingList
setPoll
public void setPoll(Poll poll)
- Specified by:
setPoll in interface VotingList
getPoll
public Poll getPoll()
- Specified by:
getPoll in interface VotingList
setVote
public void setVote(Vote vote)
- Specified by:
setVote in interface VotingList
getVote
public Vote getVote()
- Specified by:
getVote in interface VotingList
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.