|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.topia.persistence.TopiaEntityAbstract
org.chorem.pollen.business.persistence.PollAccountAbstract
public abstract class PollAccountAbstract
Implantation POJO pour l'entité 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.PollAccount |
|---|
ACCOUNT_ID, 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(List<Comment> values)
|
void |
addAllPollsCreated(List<Poll> values)
|
void |
addAllVote(List<Vote> values)
|
void |
addAllVotingListPersonToList(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()
|
String |
getAccountId()
|
List<org.nuiton.topia.persistence.TopiaEntity> |
getAggregate()
|
List<Comment> |
getComment()
|
Comment |
getCommentByTopiaId(String topiaId)
Recupère l'attribut comment à partir de son topiaId. |
List<org.nuiton.topia.persistence.TopiaEntity> |
getComposite()
|
String |
getEmail()
|
PersonList |
getPersonList()
|
List<Poll> |
getPollsCreated()
|
Poll |
getPollsCreatedByTopiaId(String topiaId)
Recupère l'attribut pollsCreated à partir de son topiaId. |
UserAccount |
getUserAccount()
|
List<Vote> |
getVote()
|
Vote |
getVoteByTopiaId(String topiaId)
Recupère l'attribut vote à partir de son topiaId. |
String |
getVotingId()
|
List<PersonToList> |
getVotingListPersonToList()
|
PersonToList |
getVotingListPersonToList(VotingList value)
|
PersonToList |
getVotingListPersonToListByTopiaId(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 |
setAccountId(String value)
|
void |
setComment(List<Comment> values)
|
void |
setEmail(String value)
|
void |
setPersonList(PersonList value)
|
void |
setPollsCreated(List<Poll> values)
|
void |
setUserAccount(UserAccount value)
|
void |
setVote(List<Vote> values)
|
void |
setVotingId(String value)
|
void |
setVotingListPersonToList(List<PersonToList> values)
|
int |
sizeComment()
|
int |
sizePollsCreated()
|
int |
sizeVote()
|
int |
sizeVotingListPersonToList()
|
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 |
|---|
public String accountId
public String votingId
public String email
public List<PersonToList> votingListPersonToList
public List<Poll> pollsCreated
public List<Comment> comment
public List<Vote> vote
public PersonList personList
public UserAccount userAccount
| Constructor Detail |
|---|
public PollAccountAbstract()
| Method Detail |
|---|
public void update()
throws org.nuiton.topia.TopiaException
update in interface org.nuiton.topia.persistence.TopiaEntityupdate in class org.nuiton.topia.persistence.TopiaEntityAbstractorg.nuiton.topia.TopiaException
public void delete()
throws org.nuiton.topia.TopiaException
delete in interface org.nuiton.topia.persistence.TopiaEntitydelete in class org.nuiton.topia.persistence.TopiaEntityAbstractorg.nuiton.topia.TopiaException
public void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
throws org.nuiton.topia.TopiaException
accept in interface org.nuiton.topia.persistence.TopiaEntityvisitor - le visiteur de l'entite.
org.nuiton.topia.TopiaException - if any pb while visit
public List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
throws org.nuiton.topia.TopiaException
getAggregate in interface org.nuiton.topia.persistence.TopiaEntitygetAggregate in class org.nuiton.topia.persistence.TopiaEntityAbstractorg.nuiton.topia.TopiaException
public List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
throws org.nuiton.topia.TopiaException
getComposite in interface org.nuiton.topia.persistence.TopiaEntitygetComposite in class org.nuiton.topia.persistence.TopiaEntityAbstractorg.nuiton.topia.TopiaExceptionpublic void setAccountId(String value)
setAccountId in interface PollAccountvalue - La valeur de l'attribut accountId à positionner.public String getAccountId()
getAccountId in interface PollAccountpublic void setVotingId(String value)
setVotingId in interface PollAccountvalue - La valeur de l'attribut votingId à positionner.public String getVotingId()
getVotingId in interface PollAccountpublic void setEmail(String value)
setEmail in interface PollAccountvalue - La valeur de l'attribut email à positionner.public String getEmail()
getEmail in interface PollAccountpublic void addVotingListPersonToList(PersonToList value)
addVotingListPersonToList in interface PollAccountvalue - L'instance de PersonToList à ajouter.public PersonToList getVotingListPersonToListByTopiaId(String topiaId)
PollAccount
getVotingListPersonToListByTopiaId in interface PollAccounttopiaId - le topia id de l'attribut recherchée
null s'il n'existe pas.public void addAllVotingListPersonToList(List<PersonToList> values)
addAllVotingListPersonToList in interface PollAccountvalues - Les instances de PersonToList à ajouter.public void setVotingListPersonToList(List<PersonToList> values)
setVotingListPersonToList in interface PollAccountvalues - La Collection de PersonToList à positionner.public void removeVotingListPersonToList(PersonToList value)
removeVotingListPersonToList in interface PollAccountvalue - L'instance de PersonToList à retirer.public void clearVotingListPersonToList()
PollAccount
clearVotingListPersonToList in interface PollAccountpublic List<PersonToList> getVotingListPersonToList()
getVotingListPersonToList in interface PollAccountpublic PersonToList getVotingListPersonToList(VotingList value)
getVotingListPersonToList in interface PollAccountvalue de l'attribut votingList.public int sizeVotingListPersonToList()
sizeVotingListPersonToList in interface PollAccountpublic boolean isVotingListPersonToListEmpty()
isVotingListPersonToListEmpty in interface PollAccounttrue si la collection votingListPersonToList est vide.public void addPollsCreated(Poll pollsCreated)
addPollsCreated in interface PollAccountpollsCreated - L'instance de pollsCreated à ajouter.public void addAllPollsCreated(List<Poll> values)
addAllPollsCreated in interface PollAccountvalues - Les instances de pollsCreated à ajouter.public Poll getPollsCreatedByTopiaId(String topiaId)
PollAccount
getPollsCreatedByTopiaId in interface PollAccounttopiaId - le topia id de l'entité recherchée
null s'il n'existe pas.public void setPollsCreated(List<Poll> values)
setPollsCreated in interface PollAccountvalues - La Collection de pollsCreated à positionner.public void removePollsCreated(Poll value)
removePollsCreated in interface PollAccountvalue - L'instance de pollsCreated à retirer.public void clearPollsCreated()
PollAccount
clearPollsCreated in interface PollAccountpublic List<Poll> getPollsCreated()
getPollsCreated in interface PollAccountpublic int sizePollsCreated()
sizePollsCreated in interface PollAccountpublic boolean isPollsCreatedEmpty()
isPollsCreatedEmpty in interface PollAccounttrue si la collection pollsCreated est vide.public void addComment(Comment comment)
addComment in interface PollAccountcomment - L'instance de comment à ajouter.public void addAllComment(List<Comment> values)
addAllComment in interface PollAccountvalues - Les instances de comment à ajouter.public Comment getCommentByTopiaId(String topiaId)
PollAccount
getCommentByTopiaId in interface PollAccounttopiaId - le topia id de l'entité recherchée
null s'il n'existe pas.public void setComment(List<Comment> values)
setComment in interface PollAccountvalues - La Collection de comment à positionner.public void removeComment(Comment value)
removeComment in interface PollAccountvalue - L'instance de comment à retirer.public void clearComment()
PollAccount
clearComment in interface PollAccountpublic List<Comment> getComment()
getComment in interface PollAccountpublic int sizeComment()
sizeComment in interface PollAccountpublic boolean isCommentEmpty()
isCommentEmpty in interface PollAccounttrue si la collection comment est vide.public void addVote(Vote vote)
addVote in interface PollAccountvote - L'instance de vote à ajouter.public void addAllVote(List<Vote> values)
addAllVote in interface PollAccountvalues - Les instances de vote à ajouter.public Vote getVoteByTopiaId(String topiaId)
PollAccount
getVoteByTopiaId in interface PollAccounttopiaId - le topia id de l'entité recherchée
null s'il n'existe pas.public void setVote(List<Vote> values)
setVote in interface PollAccountvalues - La Collection de vote à positionner.public void removeVote(Vote value)
removeVote in interface PollAccountvalue - L'instance de vote à retirer.public void clearVote()
PollAccount
clearVote in interface PollAccountpublic List<Vote> getVote()
getVote in interface PollAccountpublic int sizeVote()
sizeVote in interface PollAccountpublic boolean isVoteEmpty()
isVoteEmpty in interface PollAccounttrue si la collection vote est vide.public void setPersonList(PersonList value)
setPersonList in interface PollAccountvalue - La valeur de l'attribut personList à positionner.public PersonList getPersonList()
getPersonList in interface PollAccountpublic void setUserAccount(UserAccount value)
setUserAccount in interface PollAccountvalue - La valeur de l'attribut userAccount à positionner.public UserAccount getUserAccount()
getUserAccount in interface PollAccountpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||