org.chorem.pollen.business.persistence
Class PersonListAbstract

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

public abstract class PersonListAbstract
extends org.nuiton.topia.persistence.TopiaEntityAbstract
implements PersonList

Implantation POJO pour l'entité PersonList.

See Also:
Serialized Form

Field Summary
 java.lang.String name
           
 UserAccount owner
           
 java.util.List<PollAccount> pollAccount
           
 
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.PersonList
NAME, OWNER, POLL_ACCOUNT
 
Constructor Summary
PersonListAbstract()
          Constructeur de PersonListAbstract 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 addAllPollAccount(java.util.List<PollAccount> values)
           
 void addPollAccount(PollAccount pollAccount)
           
 void clearPollAccount()
          Vide la Collection de pollAccount.
 void delete()
           
 java.util.List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
           
 java.util.List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
           
 java.lang.String getName()
           
 UserAccount getOwner()
           
 java.util.List<PollAccount> getPollAccount()
           
 PollAccount getPollAccountByTopiaId(java.lang.String topiaId)
          Recupère l'attribut pollAccount à partir de son topiaId.
 boolean isPollAccountEmpty()
           
 void removePollAccount(PollAccount value)
           
 void setName(java.lang.String value)
           
 void setOwner(UserAccount value)
           
 void setPollAccount(java.util.List<PollAccount> values)
           
 int sizePollAccount()
           
 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

name

public java.lang.String name

owner

public UserAccount owner

pollAccount

public java.util.List<PollAccount> pollAccount
Constructor Detail

PersonListAbstract

public PersonListAbstract()
Constructeur de PersonListAbstract 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

setName

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

getName

public java.lang.String getName()
Specified by:
getName in interface PersonList
Returns:
La valeur de l'attribut name.

setOwner

public void setOwner(UserAccount value)
Specified by:
setOwner in interface PersonList
Parameters:
value - La valeur de l'attribut owner à positionner.

getOwner

public UserAccount getOwner()
Specified by:
getOwner in interface PersonList
Returns:
La valeur de l'attribut owner.

addPollAccount

public void addPollAccount(PollAccount pollAccount)
Specified by:
addPollAccount in interface PersonList
Parameters:
pollAccount - L'instance de pollAccount à ajouter.

addAllPollAccount

public void addAllPollAccount(java.util.List<PollAccount> values)
Specified by:
addAllPollAccount in interface PersonList
Parameters:
values - Les instances de pollAccount à ajouter.

getPollAccountByTopiaId

public PollAccount getPollAccountByTopiaId(java.lang.String topiaId)
Description copied from interface: PersonList
Recupère l'attribut pollAccount à partir de son topiaId.

Specified by:
getPollAccountByTopiaId in interface PersonList
Parameters:
topiaId - le topia id de l'entité recherchée
Returns:
l'attribut recherché, ou null s'il n'existe pas.

setPollAccount

public void setPollAccount(java.util.List<PollAccount> values)
Specified by:
setPollAccount in interface PersonList
Parameters:
values - La Collection de pollAccount à positionner.

removePollAccount

public void removePollAccount(PollAccount value)
Specified by:
removePollAccount in interface PersonList
Parameters:
value - L'instance de pollAccount à retirer.

clearPollAccount

public void clearPollAccount()
Description copied from interface: PersonList
Vide la Collection de pollAccount.

Specified by:
clearPollAccount in interface PersonList

getPollAccount

public java.util.List<PollAccount> getPollAccount()
Specified by:
getPollAccount in interface PersonList
Returns:
La Liste de pollAccount.

sizePollAccount

public int sizePollAccount()
Specified by:
sizePollAccount in interface PersonList
Returns:
Le nombre d'éléments de la collection pollAccount.

isPollAccountEmpty

public boolean isPollAccountEmpty()
Specified by:
isPollAccountEmpty in interface PersonList
Returns:
true si la collection pollAccount est vide.

toString

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


Copyright © 2009-2010 CodeLutin. All Rights Reserved.