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
Implantation POJO pour l'entité VotingList.
- See Also:
- Serialized Form
| Fields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract |
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables |
| Methods inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract |
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, equals, fireOnPostRead, fireOnPostRead, fireOnPostWrite, fireOnPostWrite, fireOnPreRead, fireOnPreWrite, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, hashCode, postCreate, 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, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, postCreate, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion |
name
public String name
weight
public Double weight
pollAccountPersonToList
public List<PersonToList> pollAccountPersonToList
poll
public Poll poll
vote
public Vote vote
VotingListAbstract
public VotingListAbstract()
- Constructeur de VotingListAbstract par défaut.
update
public void update()
throws org.nuiton.topia.TopiaException
- Specified by:
update in interface org.nuiton.topia.persistence.TopiaEntity- Overrides:
update in class org.nuiton.topia.persistence.TopiaEntityAbstract
- Throws:
org.nuiton.topia.TopiaException
delete
public void delete()
throws org.nuiton.topia.TopiaException
- Specified by:
delete in interface org.nuiton.topia.persistence.TopiaEntity- Overrides:
delete in class org.nuiton.topia.persistence.TopiaEntityAbstract
- Throws:
org.nuiton.topia.TopiaException
accept
public void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
throws org.nuiton.topia.TopiaException
- Envoi via les methodes du visitor l'ensemble des champs de l'entity
avec leur nom, type et valeur.
- Specified by:
accept in interface org.nuiton.topia.persistence.TopiaEntity
- Parameters:
visitor - le visiteur de l'entite.
- Throws:
org.nuiton.topia.TopiaException - if any pb while visit
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
setName
public void setName(String value)
- Specified by:
setName in interface VotingList
- Parameters:
value - La valeur de l'attribut name à positionner.
getName
public String getName()
- Specified by:
getName in interface VotingList
- Returns:
- La valeur de l'attribut name.
setWeight
public void setWeight(Double value)
- Specified by:
setWeight in interface VotingList
- Parameters:
value - La valeur de l'attribut weight à positionner.
getWeight
public Double getWeight()
- Specified by:
getWeight in interface VotingList
- Returns:
- La valeur de l'attribut weight.
addPollAccountPersonToList
public void addPollAccountPersonToList(PersonToList value)
- Specified by:
addPollAccountPersonToList in interface VotingList
- Parameters:
value - L'instance de PersonToList à ajouter.
getPollAccountPersonToListByTopiaId
public PersonToList getPollAccountPersonToListByTopiaId(String topiaId)
- Description copied from interface:
VotingList
- Recupère l'attribut pollAccount à partir de son topiaId.
- Specified by:
getPollAccountPersonToListByTopiaId in interface VotingList
- Parameters:
topiaId - le topia id de l'attribut recherchée
- Returns:
- l'attribut recherché, ou
null s'il n'existe pas.
addAllPollAccountPersonToList
public void addAllPollAccountPersonToList(List<PersonToList> values)
- Specified by:
addAllPollAccountPersonToList in interface VotingList
- Parameters:
values - Les instances de PersonToList à ajouter.
setPollAccountPersonToList
public void setPollAccountPersonToList(List<PersonToList> values)
- Specified by:
setPollAccountPersonToList in interface VotingList
- Parameters:
values - La Collection de PersonToList à positionner.
removePollAccountPersonToList
public void removePollAccountPersonToList(PersonToList value)
- Specified by:
removePollAccountPersonToList in interface VotingList
- Parameters:
value - L'instance de PersonToList à retirer.
clearPollAccountPersonToList
public void clearPollAccountPersonToList()
- Description copied from interface:
VotingList
- Vide la Collection de PersonToList.
- Specified by:
clearPollAccountPersonToList in interface VotingList
getPollAccountPersonToList
public List<PersonToList> getPollAccountPersonToList()
- Specified by:
getPollAccountPersonToList in interface VotingList
- Returns:
- La liste des attributs PersonToList.
getPollAccountPersonToList
public PersonToList getPollAccountPersonToList(PollAccount value)
- Specified by:
getPollAccountPersonToList in interface VotingList
- Returns:
- L'attribut PersonToList associé à la valeur
value de l'attribut pollAccount.
sizePollAccountPersonToList
public int sizePollAccountPersonToList()
- Specified by:
sizePollAccountPersonToList in interface VotingList
- Returns:
- Le nombre d'éléments de la collection pollAccount.
isPollAccountPersonToListEmpty
public boolean isPollAccountPersonToListEmpty()
- Specified by:
isPollAccountPersonToListEmpty in interface VotingList
- Returns:
true si la collection pollAccountPersonToList est vide.
setPoll
public void setPoll(Poll value)
- Specified by:
setPoll in interface VotingList
- Parameters:
value - La valeur de l'attribut poll à positionner.
getPoll
public Poll getPoll()
- Specified by:
getPoll in interface VotingList
- Returns:
- La valeur de l'attribut poll.
setVote
public void setVote(Vote value)
- Specified by:
setVote in interface VotingList
- Parameters:
value - La valeur de l'attribut vote à positionner.
getVote
public Vote getVote()
- Specified by:
getVote in interface VotingList
- Returns:
- La valeur de l'attribut vote.
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009-2010 CodeLutin. All Rights Reserved.