org.chorem.pollen.business.persistence
Class UserAccountAbstract

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

public abstract class UserAccountAbstract
extends org.nuiton.topia.persistence.TopiaEntityAbstract
implements UserAccount

Implantation POJO pour l'entité UserAccount.

See Also:
Serialized Form

Field Summary
 java.lang.Boolean administrator
           
 java.lang.String email
           
 java.util.List<PersonList> favoriteList
           
 java.lang.String firstName
           
 java.lang.String language
           
 java.lang.String lastName
           
 java.lang.String login
           
 java.lang.String password
           
 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.UserAccount
ADMINISTRATOR, EMAIL, FAVORITE_LIST, FIRST_NAME, LANGUAGE, LAST_NAME, LOGIN, PASSWORD, POLL_ACCOUNT
 
Constructor Summary
UserAccountAbstract()
          Constructeur de UserAccountAbstract 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 addAllFavoriteList(java.util.List<PersonList> values)
           
 void addAllPollAccount(java.util.List<PollAccount> values)
           
 void addFavoriteList(PersonList favoriteList)
           
 void addPollAccount(PollAccount pollAccount)
           
 void clearFavoriteList()
          Vide la Collection de favoriteList.
 void clearPollAccount()
          Vide la Collection de pollAccount.
 void delete()
           
 java.lang.Boolean getAdministrator()
           
 java.util.List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
           
 java.util.List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
           
 java.lang.String getEmail()
           
 java.util.List<PersonList> getFavoriteList()
           
 PersonList getFavoriteListByTopiaId(java.lang.String topiaId)
          Recupère l'attribut favoriteList à partir de son topiaId.
 java.lang.String getFirstName()
           
 java.lang.String getLanguage()
           
 java.lang.String getLastName()
           
 java.lang.String getLogin()
           
 java.lang.String getPassword()
           
 java.util.List<PollAccount> getPollAccount()
           
 PollAccount getPollAccountByTopiaId(java.lang.String topiaId)
          Recupère l'attribut pollAccount à partir de son topiaId.
 boolean isFavoriteListEmpty()
           
 boolean isPollAccountEmpty()
           
 void removeFavoriteList(PersonList value)
           
 void removePollAccount(PollAccount value)
           
 void setAdministrator(java.lang.Boolean value)
           
 void setEmail(java.lang.String value)
           
 void setFavoriteList(java.util.List<PersonList> values)
           
 void setFirstName(java.lang.String value)
           
 void setLanguage(java.lang.String value)
           
 void setLastName(java.lang.String value)
           
 void setLogin(java.lang.String value)
           
 void setPassword(java.lang.String value)
           
 void setPollAccount(java.util.List<PollAccount> values)
           
 int sizeFavoriteList()
           
 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

login

public java.lang.String login

password

public java.lang.String password

firstName

public java.lang.String firstName

lastName

public java.lang.String lastName

administrator

public java.lang.Boolean administrator

language

public java.lang.String language

email

public java.lang.String email

favoriteList

public java.util.List<PersonList> favoriteList

pollAccount

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

UserAccountAbstract

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

setLogin

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

getLogin

public java.lang.String getLogin()
Specified by:
getLogin in interface UserAccount
Returns:
La valeur de l'attribut login.

setPassword

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

getPassword

public java.lang.String getPassword()
Specified by:
getPassword in interface UserAccount
Returns:
La valeur de l'attribut password.

setFirstName

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

getFirstName

public java.lang.String getFirstName()
Specified by:
getFirstName in interface UserAccount
Returns:
La valeur de l'attribut firstName.

setLastName

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

getLastName

public java.lang.String getLastName()
Specified by:
getLastName in interface UserAccount
Returns:
La valeur de l'attribut lastName.

setAdministrator

public void setAdministrator(java.lang.Boolean value)
Specified by:
setAdministrator in interface UserAccount
Parameters:
value - La valeur de l'attribut administrator à positionner.

getAdministrator

public java.lang.Boolean getAdministrator()
Specified by:
getAdministrator in interface UserAccount
Returns:
La valeur de l'attribut administrator.

setLanguage

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

getLanguage

public java.lang.String getLanguage()
Specified by:
getLanguage in interface UserAccount
Returns:
La valeur de l'attribut language.

setEmail

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

getEmail

public java.lang.String getEmail()
Specified by:
getEmail in interface UserAccount
Returns:
La valeur de l'attribut email.

addFavoriteList

public void addFavoriteList(PersonList favoriteList)
Specified by:
addFavoriteList in interface UserAccount
Parameters:
favoriteList - L'instance de favoriteList à ajouter.

addAllFavoriteList

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

getFavoriteListByTopiaId

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

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

setFavoriteList

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

removeFavoriteList

public void removeFavoriteList(PersonList value)
Specified by:
removeFavoriteList in interface UserAccount
Parameters:
value - L'instance de favoriteList à retirer.

clearFavoriteList

public void clearFavoriteList()
Description copied from interface: UserAccount
Vide la Collection de favoriteList.

Specified by:
clearFavoriteList in interface UserAccount

getFavoriteList

public java.util.List<PersonList> getFavoriteList()
Specified by:
getFavoriteList in interface UserAccount
Returns:
La Liste de favoriteList.

sizeFavoriteList

public int sizeFavoriteList()
Specified by:
sizeFavoriteList in interface UserAccount
Returns:
Le nombre d'éléments de la collection favoriteList.

isFavoriteListEmpty

public boolean isFavoriteListEmpty()
Specified by:
isFavoriteListEmpty in interface UserAccount
Returns:
true si la collection favoriteList est vide.

addPollAccount

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

addAllPollAccount

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

getPollAccountByTopiaId

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

Specified by:
getPollAccountByTopiaId in interface UserAccount
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 UserAccount
Parameters:
values - La Collection de pollAccount à positionner.

removePollAccount

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

clearPollAccount

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

Specified by:
clearPollAccount in interface UserAccount

getPollAccount

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

sizePollAccount

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

isPollAccountEmpty

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

toString

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


Copyright © 2009 CodeLutin. All Rights Reserved.