org.chorem.pollen.business.persistence
Class PersonToListAbstract

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaEntityAbstract
      extended by org.chorem.pollen.business.persistence.PersonToListAbstract
All Implemented Interfaces:
java.io.Serializable, PersonToList, org.nuiton.topia.persistence.TopiaEntity
Direct Known Subclasses:
PersonToListImpl

public abstract class PersonToListAbstract
extends org.nuiton.topia.persistence.TopiaEntityAbstract
implements PersonToList

Implantation POJO pour l'entité PersonToList.

See Also:
Serialized Form

Field Summary
 java.lang.String hasVoted
           
 PollAccount pollAccount
           
 VotingList votingList
           
 double 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.PersonToList
HAS_VOTED, POLL_ACCOUNT, VOTING_LIST, WEIGHT
 
Constructor Summary
PersonToListAbstract()
          Constructeur de PersonToListAbstract par défaut.
 
Method Summary
 void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
          Envoi via les methodes du visitor l'ensemble des champs de l'entity avec leur nom, type et valeur.
 void delete()
           
 java.util.List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
           
 java.util.List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
           
 java.lang.String getHasVoted()
           
 PollAccount getPollAccount()
           
 VotingList getVotingList()
           
 double getWeight()
           
 void setHasVoted(java.lang.String value)
           
 void setPollAccount(PollAccount value)
           
 void setVotingList(VotingList value)
           
 void setWeight(double value)
           
 java.lang.String toString()
           
 void update()
           
 
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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
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
 

Field Detail

weight

public double weight

hasVoted

public java.lang.String hasVoted

votingList

public VotingList votingList

pollAccount

public PollAccount pollAccount
Constructor Detail

PersonToListAbstract

public PersonToListAbstract()
Constructeur de PersonToListAbstract par défaut.

Method Detail

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 java.util.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 java.util.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

setWeight

public void setWeight(double value)
Specified by:
setWeight in interface PersonToList
Parameters:
value - La valeur de l'attribut weight à positionner.

getWeight

public double getWeight()
Specified by:
getWeight in interface PersonToList
Returns:
La valeur de l'attribut weight.

setHasVoted

public void setHasVoted(java.lang.String value)
Specified by:
setHasVoted in interface PersonToList
Parameters:
value - La valeur de l'attribut hasVoted à positionner.

getHasVoted

public java.lang.String getHasVoted()
Specified by:
getHasVoted in interface PersonToList
Returns:
La valeur de l'attribut hasVoted.

setVotingList

public void setVotingList(VotingList value)
Specified by:
setVotingList in interface PersonToList
Parameters:
value - La valeur de l'attribut votingList à positionner.

getVotingList

public VotingList getVotingList()
Specified by:
getVotingList in interface PersonToList
Returns:
La valeur de l'attribut votingList.

setPollAccount

public void setPollAccount(PollAccount value)
Specified by:
setPollAccount in interface PersonToList
Parameters:
value - La valeur de l'attribut pollAccount à positionner.

getPollAccount

public PollAccount getPollAccount()
Specified by:
getPollAccount in interface PersonToList
Returns:
La valeur de l'attribut pollAccount.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009 CodeLutin. All Rights Reserved.