org.chorem.pollen.business.persistence
Class PollAccountAbstract

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

public abstract class PollAccountAbstract
extends org.nuiton.topia.persistence.TopiaEntityAbstract
implements PollAccount

Implantation POJO pour l'entité PollAccount.

See Also:
Serialized Form

Field Summary
 java.util.List<Comment> comment
           
 java.lang.String email
           
 PersonList personList
           
 java.util.List<Poll> pollsCreated
           
 UserAccount userAccount
           
 java.util.List<Vote> vote
           
 java.lang.String votingId
           
 java.util.List<PersonToList> votingListPersonToList
           
 
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.PollAccount
COMMENT, EMAIL, PERSON_LIST, POLLS_CREATED, USER_ACCOUNT, VOTE, VOTING_ID, VOTING_LIST_PERSON_TO_LIST
 
Constructor Summary
PollAccountAbstract()
          Constructeur de PollAccountAbstract 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 addAllComment(java.util.List<Comment> values)
           
 void addAllPollsCreated(java.util.List<Poll> values)
           
 void addAllVote(java.util.List<Vote> values)
           
 void addAllVotingListPersonToList(java.util.List<PersonToList> values)
           
 void addComment(Comment comment)
           
 void addPollsCreated(Poll pollsCreated)
           
 void addVote(Vote vote)
           
 void addVotingListPersonToList(PersonToList value)
           
 void clearComment()
          Vide la Collection de comment.
 void clearPollsCreated()
          Vide la Collection de pollsCreated.
 void clearVote()
          Vide la Collection de vote.
 void clearVotingListPersonToList()
          Vide la Collection de PersonToList.
 void delete()
           
 java.util.List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
           
 java.util.List<Comment> getComment()
           
 Comment getCommentByTopiaId(java.lang.String topiaId)
          Recupère l'attribut comment à partir de son topiaId.
 java.util.List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
           
 java.lang.String getEmail()
           
 PersonList getPersonList()
           
 java.util.List<Poll> getPollsCreated()
           
 Poll getPollsCreatedByTopiaId(java.lang.String topiaId)
          Recupère l'attribut pollsCreated à partir de son topiaId.
 UserAccount getUserAccount()
           
 java.util.List<Vote> getVote()
           
 Vote getVoteByTopiaId(java.lang.String topiaId)
          Recupère l'attribut vote à partir de son topiaId.
 java.lang.String getVotingId()
           
 java.util.List<PersonToList> getVotingListPersonToList()
           
 PersonToList getVotingListPersonToList(VotingList value)
           
 PersonToList getVotingListPersonToListByTopiaId(java.lang.String topiaId)
          Recupère l'attribut votingList à partir de son topiaId.
 boolean isCommentEmpty()
           
 boolean isPollsCreatedEmpty()
           
 boolean isVoteEmpty()
           
 boolean isVotingListPersonToListEmpty()
           
 void removeComment(Comment value)
           
 void removePollsCreated(Poll value)
           
 void removeVote(Vote value)
           
 void removeVotingListPersonToList(PersonToList value)
           
 void setComment(java.util.List<Comment> values)
           
 void setEmail(java.lang.String value)
           
 void setPersonList(PersonList value)
           
 void setPollsCreated(java.util.List<Poll> values)
           
 void setUserAccount(UserAccount value)
           
 void setVote(java.util.List<Vote> values)
           
 void setVotingId(java.lang.String value)
           
 void setVotingListPersonToList(java.util.List<PersonToList> values)
           
 int sizeComment()
           
 int sizePollsCreated()
           
 int sizeVote()
           
 int sizeVotingListPersonToList()
           
 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

votingId

public java.lang.String votingId

email

public java.lang.String email

votingListPersonToList

public java.util.List<PersonToList> votingListPersonToList

pollsCreated

public java.util.List<Poll> pollsCreated

comment

public java.util.List<Comment> comment

vote

public java.util.List<Vote> vote

personList

public PersonList personList

userAccount

public UserAccount userAccount
Constructor Detail

PollAccountAbstract

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

setVotingId

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

getVotingId

public java.lang.String getVotingId()
Specified by:
getVotingId in interface PollAccount
Returns:
La valeur de l'attribut votingId.

setEmail

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

getEmail

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

addVotingListPersonToList

public void addVotingListPersonToList(PersonToList value)
Specified by:
addVotingListPersonToList in interface PollAccount
Parameters:
value - L'instance de PersonToList à ajouter.

getVotingListPersonToListByTopiaId

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

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

addAllVotingListPersonToList

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

setVotingListPersonToList

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

removeVotingListPersonToList

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

clearVotingListPersonToList

public void clearVotingListPersonToList()
Description copied from interface: PollAccount
Vide la Collection de PersonToList.

Specified by:
clearVotingListPersonToList in interface PollAccount

getVotingListPersonToList

public java.util.List<PersonToList> getVotingListPersonToList()
Specified by:
getVotingListPersonToList in interface PollAccount
Returns:
La liste des attributs PersonToList.

getVotingListPersonToList

public PersonToList getVotingListPersonToList(VotingList value)
Specified by:
getVotingListPersonToList in interface PollAccount
Returns:
L'attribut PersonToList associé à la valeur value de l'attribut votingList.

sizeVotingListPersonToList

public int sizeVotingListPersonToList()
Specified by:
sizeVotingListPersonToList in interface PollAccount
Returns:
Le nombre d'éléments de la collection votingList.

isVotingListPersonToListEmpty

public boolean isVotingListPersonToListEmpty()
Specified by:
isVotingListPersonToListEmpty in interface PollAccount
Returns:
true si la collection votingListPersonToList est vide.

addPollsCreated

public void addPollsCreated(Poll pollsCreated)
Specified by:
addPollsCreated in interface PollAccount
Parameters:
pollsCreated - L'instance de pollsCreated à ajouter.

addAllPollsCreated

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

getPollsCreatedByTopiaId

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

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

setPollsCreated

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

removePollsCreated

public void removePollsCreated(Poll value)
Specified by:
removePollsCreated in interface PollAccount
Parameters:
value - L'instance de pollsCreated à retirer.

clearPollsCreated

public void clearPollsCreated()
Description copied from interface: PollAccount
Vide la Collection de pollsCreated.

Specified by:
clearPollsCreated in interface PollAccount

getPollsCreated

public java.util.List<Poll> getPollsCreated()
Specified by:
getPollsCreated in interface PollAccount
Returns:
La Liste de pollsCreated.

sizePollsCreated

public int sizePollsCreated()
Specified by:
sizePollsCreated in interface PollAccount
Returns:
Le nombre d'éléments de la collection pollsCreated.

isPollsCreatedEmpty

public boolean isPollsCreatedEmpty()
Specified by:
isPollsCreatedEmpty in interface PollAccount
Returns:
true si la collection pollsCreated est vide.

addComment

public void addComment(Comment comment)
Specified by:
addComment in interface PollAccount
Parameters:
comment - L'instance de comment à ajouter.

addAllComment

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

getCommentByTopiaId

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

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

setComment

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

removeComment

public void removeComment(Comment value)
Specified by:
removeComment in interface PollAccount
Parameters:
value - L'instance de comment à retirer.

clearComment

public void clearComment()
Description copied from interface: PollAccount
Vide la Collection de comment.

Specified by:
clearComment in interface PollAccount

getComment

public java.util.List<Comment> getComment()
Specified by:
getComment in interface PollAccount
Returns:
La Liste de comment.

sizeComment

public int sizeComment()
Specified by:
sizeComment in interface PollAccount
Returns:
Le nombre d'éléments de la collection comment.

isCommentEmpty

public boolean isCommentEmpty()
Specified by:
isCommentEmpty in interface PollAccount
Returns:
true si la collection comment est vide.

addVote

public void addVote(Vote vote)
Specified by:
addVote in interface PollAccount
Parameters:
vote - L'instance de vote à ajouter.

addAllVote

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

getVoteByTopiaId

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

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

setVote

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

removeVote

public void removeVote(Vote value)
Specified by:
removeVote in interface PollAccount
Parameters:
value - L'instance de vote à retirer.

clearVote

public void clearVote()
Description copied from interface: PollAccount
Vide la Collection de vote.

Specified by:
clearVote in interface PollAccount

getVote

public java.util.List<Vote> getVote()
Specified by:
getVote in interface PollAccount
Returns:
La Liste de vote.

sizeVote

public int sizeVote()
Specified by:
sizeVote in interface PollAccount
Returns:
Le nombre d'éléments de la collection vote.

isVoteEmpty

public boolean isVoteEmpty()
Specified by:
isVoteEmpty in interface PollAccount
Returns:
true si la collection vote est vide.

setPersonList

public void setPersonList(PersonList value)
Specified by:
setPersonList in interface PollAccount
Parameters:
value - La valeur de l'attribut personList à positionner.

getPersonList

public PersonList getPersonList()
Specified by:
getPersonList in interface PollAccount
Returns:
La valeur de l'attribut personList.

setUserAccount

public void setUserAccount(UserAccount value)
Specified by:
setUserAccount in interface PollAccount
Parameters:
value - La valeur de l'attribut userAccount à positionner.

getUserAccount

public UserAccount getUserAccount()
Specified by:
getUserAccount in interface PollAccount
Returns:
La valeur de l'attribut userAccount.

toString

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


Copyright © 2009 CodeLutin. All Rights Reserved.