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:
Serializable, PollAccount, org.nuiton.topia.persistence.TopiaEntity
Direct Known Subclasses:
PollAccountImpl

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

See Also:
Serialized Form

Field Summary
protected  String accountId
          Nom de l'attribut en BD : accountId
protected  List<Comment> comment
          Nom de l'attribut en BD : comment
protected  String email
          Nom de l'attribut en BD : email
protected  PersonList personList
          Nom de l'attribut en BD : personList
protected  List<Poll> pollsCreated
          Nom de l'attribut en BD : pollsCreated
protected  UserAccount userAccount
          Nom de l'attribut en BD : userAccount
protected  List<Vote> vote
          Nom de l'attribut en BD : vote
protected  String votingId
          Nom de l'attribut en BD : votingId
protected  List<PersonToList> votingListPersonToList
          Nom de l'attribut en BD : votingList
 
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
PROPERTY_ACCOUNT_ID, PROPERTY_COMMENT, PROPERTY_EMAIL, PROPERTY_PERSON_LIST, PROPERTY_POLLS_CREATED, PROPERTY_USER_ACCOUNT, PROPERTY_VOTE, PROPERTY_VOTING_ID, PROPERTY_VOTING_LIST_PERSON_TO_LIST
 
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
 
Constructor Summary
PollAccountAbstract()
           
 
Method Summary
 void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
           
 void addAllComment(List<Comment> comment)
           
 void addAllPollsCreated(List<Poll> pollsCreated)
           
 void addAllVote(List<Vote> vote)
           
 void addAllVotingListPersonToList(List<PersonToList> votingListPersonToList)
           
 void addComment(Comment comment)
           
 void addPollsCreated(Poll pollsCreated)
           
 void addVote(Vote vote)
           
 void addVotingListPersonToList(PersonToList votingListPersonToList)
           
 void clearComment()
           
 void clearPollsCreated()
           
 void clearVote()
           
 void clearVotingListPersonToList()
           
 String getAccountId()
           
 List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
           
 List<Comment> getComment()
           
 Comment getCommentByTopiaId(String topiaId)
           
 List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
           
 String getEmail()
           
 PersonList getPersonList()
           
 List<Poll> getPollsCreated()
           
 Poll getPollsCreatedByTopiaId(String topiaId)
           
 UserAccount getUserAccount()
           
 List<Vote> getVote()
           
 Vote getVoteByTopiaId(String topiaId)
           
 String getVotingId()
           
 List<PersonToList> getVotingListPersonToList()
           
 PersonToList getVotingListPersonToList(VotingList votingList)
           
 PersonToList getVotingListPersonToListByTopiaId(String topiaId)
           
 boolean isCommentEmpty()
           
 boolean isPollsCreatedEmpty()
           
 boolean isVoteEmpty()
           
 boolean isVotingListPersonToListEmpty()
           
 void removeComment(Comment comment)
           
 void removePollsCreated(Poll pollsCreated)
           
 void removeVote(Vote vote)
           
 void removeVotingListPersonToList(PersonToList votingListPersonToList)
           
 void setAccountId(String accountId)
           
 void setComment(List<Comment> comment)
           
 void setEmail(String email)
           
 void setPersonList(PersonList personList)
           
 void setPollsCreated(List<Poll> pollsCreated)
           
 void setUserAccount(UserAccount userAccount)
           
 void setVote(List<Vote> vote)
           
 void setVotingId(String votingId)
           
 void setVotingListPersonToList(List<PersonToList> votingListPersonToList)
           
 int sizeComment()
           
 int sizePollsCreated()
           
 int sizeVote()
           
 int sizeVotingListPersonToList()
           
 
Methods inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, equals, fireOnPostRead, fireOnPostRead, fireOnPostWrite, fireOnPostWrite, fireOnPreRead, fireOnPreWrite, getReadPropertyChangeSupport, getReadVetoableChangeSupport, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, getWritePropertyChangeSupport, getWriteVetoableChangeSupport, hashCode, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaContext, setTopiaCreateDate, setTopiaId, setTopiaVersion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion
 

Field Detail

accountId

protected String accountId
Nom de l'attribut en BD : accountId


votingId

protected String votingId
Nom de l'attribut en BD : votingId


email

protected String email
Nom de l'attribut en BD : email


votingListPersonToList

protected List<PersonToList> votingListPersonToList
Nom de l'attribut en BD : votingList


pollsCreated

protected List<Poll> pollsCreated
Nom de l'attribut en BD : pollsCreated


comment

protected List<Comment> comment
Nom de l'attribut en BD : comment


vote

protected List<Vote> vote
Nom de l'attribut en BD : vote


personList

protected PersonList personList
Nom de l'attribut en BD : personList


userAccount

protected UserAccount userAccount
Nom de l'attribut en BD : userAccount

Constructor Detail

PollAccountAbstract

public PollAccountAbstract()
Method Detail

accept

public void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
            throws org.nuiton.topia.TopiaException
Specified by:
accept in interface org.nuiton.topia.persistence.TopiaEntity
Throws:
org.nuiton.topia.TopiaException

setAccountId

public void setAccountId(String accountId)
Specified by:
setAccountId in interface PollAccount

getAccountId

public String getAccountId()
Specified by:
getAccountId in interface PollAccount

setVotingId

public void setVotingId(String votingId)
Specified by:
setVotingId in interface PollAccount

getVotingId

public String getVotingId()
Specified by:
getVotingId in interface PollAccount

setEmail

public void setEmail(String email)
Specified by:
setEmail in interface PollAccount

getEmail

public String getEmail()
Specified by:
getEmail in interface PollAccount

addVotingListPersonToList

public void addVotingListPersonToList(PersonToList votingListPersonToList)
Specified by:
addVotingListPersonToList in interface PollAccount

addAllVotingListPersonToList

public void addAllVotingListPersonToList(List<PersonToList> votingListPersonToList)
Specified by:
addAllVotingListPersonToList in interface PollAccount

setVotingListPersonToList

public void setVotingListPersonToList(List<PersonToList> votingListPersonToList)
Specified by:
setVotingListPersonToList in interface PollAccount

removeVotingListPersonToList

public void removeVotingListPersonToList(PersonToList votingListPersonToList)
Specified by:
removeVotingListPersonToList in interface PollAccount

clearVotingListPersonToList

public void clearVotingListPersonToList()
Specified by:
clearVotingListPersonToList in interface PollAccount

getVotingListPersonToList

public List<PersonToList> getVotingListPersonToList()
Specified by:
getVotingListPersonToList in interface PollAccount

getVotingListPersonToListByTopiaId

public PersonToList getVotingListPersonToListByTopiaId(String topiaId)
Specified by:
getVotingListPersonToListByTopiaId in interface PollAccount

getVotingListPersonToList

public PersonToList getVotingListPersonToList(VotingList votingList)
Specified by:
getVotingListPersonToList in interface PollAccount

sizeVotingListPersonToList

public int sizeVotingListPersonToList()
Specified by:
sizeVotingListPersonToList in interface PollAccount

isVotingListPersonToListEmpty

public boolean isVotingListPersonToListEmpty()
Specified by:
isVotingListPersonToListEmpty in interface PollAccount

addPollsCreated

public void addPollsCreated(Poll pollsCreated)
Specified by:
addPollsCreated in interface PollAccount

addAllPollsCreated

public void addAllPollsCreated(List<Poll> pollsCreated)
Specified by:
addAllPollsCreated in interface PollAccount

setPollsCreated

public void setPollsCreated(List<Poll> pollsCreated)
Specified by:
setPollsCreated in interface PollAccount

removePollsCreated

public void removePollsCreated(Poll pollsCreated)
Specified by:
removePollsCreated in interface PollAccount

clearPollsCreated

public void clearPollsCreated()
Specified by:
clearPollsCreated in interface PollAccount

getPollsCreated

public List<Poll> getPollsCreated()
Specified by:
getPollsCreated in interface PollAccount

getPollsCreatedByTopiaId

public Poll getPollsCreatedByTopiaId(String topiaId)
Specified by:
getPollsCreatedByTopiaId in interface PollAccount

sizePollsCreated

public int sizePollsCreated()
Specified by:
sizePollsCreated in interface PollAccount

isPollsCreatedEmpty

public boolean isPollsCreatedEmpty()
Specified by:
isPollsCreatedEmpty in interface PollAccount

addComment

public void addComment(Comment comment)
Specified by:
addComment in interface PollAccount

addAllComment

public void addAllComment(List<Comment> comment)
Specified by:
addAllComment in interface PollAccount

setComment

public void setComment(List<Comment> comment)
Specified by:
setComment in interface PollAccount

removeComment

public void removeComment(Comment comment)
Specified by:
removeComment in interface PollAccount

clearComment

public void clearComment()
Specified by:
clearComment in interface PollAccount

getComment

public List<Comment> getComment()
Specified by:
getComment in interface PollAccount

getCommentByTopiaId

public Comment getCommentByTopiaId(String topiaId)
Specified by:
getCommentByTopiaId in interface PollAccount

sizeComment

public int sizeComment()
Specified by:
sizeComment in interface PollAccount

isCommentEmpty

public boolean isCommentEmpty()
Specified by:
isCommentEmpty in interface PollAccount

addVote

public void addVote(Vote vote)
Specified by:
addVote in interface PollAccount

addAllVote

public void addAllVote(List<Vote> vote)
Specified by:
addAllVote in interface PollAccount

setVote

public void setVote(List<Vote> vote)
Specified by:
setVote in interface PollAccount

removeVote

public void removeVote(Vote vote)
Specified by:
removeVote in interface PollAccount

clearVote

public void clearVote()
Specified by:
clearVote in interface PollAccount

getVote

public List<Vote> getVote()
Specified by:
getVote in interface PollAccount

getVoteByTopiaId

public Vote getVoteByTopiaId(String topiaId)
Specified by:
getVoteByTopiaId in interface PollAccount

sizeVote

public int sizeVote()
Specified by:
sizeVote in interface PollAccount

isVoteEmpty

public boolean isVoteEmpty()
Specified by:
isVoteEmpty in interface PollAccount

setPersonList

public void setPersonList(PersonList personList)
Specified by:
setPersonList in interface PollAccount

getPersonList

public PersonList getPersonList()
Specified by:
getPersonList in interface PollAccount

setUserAccount

public void setUserAccount(UserAccount userAccount)
Specified by:
setUserAccount in interface PollAccount

getUserAccount

public UserAccount getUserAccount()
Specified by:
getUserAccount in interface PollAccount

getAggregate

public 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 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


Copyright © 2009-2012 CodeLutin. All Rights Reserved.