org.chorem.pollen.business.persistence
Class VotingListAbstract

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaEntityAbstract
      extended by 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

Field Summary
protected  String name
          Nom de l'attribut en BD : name
protected  Poll poll
          Nom de l'attribut en BD : poll
protected  List<PersonToList> pollAccountPersonToList
          Nom de l'attribut en BD : pollAccount
protected  Vote vote
          Nom de l'attribut en BD : vote
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.VotingList
PROPERTY_NAME, PROPERTY_POLL, PROPERTY_POLL_ACCOUNT_PERSON_TO_LIST, PROPERTY_VOTE, PROPERTY_WEIGHT
 
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
 
Constructor Summary
VotingListAbstract()
           
 
Method Summary
 void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
           
 void addAllPollAccountPersonToList(List<PersonToList> pollAccountPersonToList)
           
 void addPollAccountPersonToList(PersonToList pollAccountPersonToList)
           
 void clearPollAccountPersonToList()
           
 List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
           
 List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
           
 String getName()
           
 Poll getPoll()
           
 List<PersonToList> getPollAccountPersonToList()
           
 PersonToList getPollAccountPersonToList(PollAccount pollAccount)
           
 PersonToList getPollAccountPersonToListByTopiaId(String topiaId)
           
 Vote getVote()
           
 double getWeight()
           
 boolean isPollAccountPersonToListEmpty()
           
 void removePollAccountPersonToList(PersonToList pollAccountPersonToList)
           
 void setName(String name)
           
 void setPoll(Poll poll)
           
 void setPollAccountPersonToList(List<PersonToList> pollAccountPersonToList)
           
 void setVote(Vote vote)
           
 void setWeight(double weight)
           
 int sizePollAccountPersonToList()
           
 
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

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

Constructor Detail

VotingListAbstract

public VotingListAbstract()
Method Detail

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.