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

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

See Also:
Serialized Form

Field Summary
protected  String name
          Nom de l'attribut en BD : name
protected  UserAccount owner
          Nom de l'attribut en BD : owner
protected  List<PollAccount> pollAccount
          Nom de l'attribut en BD : 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
PROPERTY_NAME, PROPERTY_OWNER, PROPERTY_POLL_ACCOUNT
 
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
 
Constructor Summary
PersonListAbstract()
           
 
Method Summary
 void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
           
 void addAllPollAccount(List<PollAccount> pollAccount)
           
 void addPollAccount(PollAccount pollAccount)
           
 void clearPollAccount()
           
 List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
           
 List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
           
 String getName()
           
 UserAccount getOwner()
           
 List<PollAccount> getPollAccount()
           
 PollAccount getPollAccountByTopiaId(String topiaId)
           
 boolean isPollAccountEmpty()
           
 void removePollAccount(PollAccount pollAccount)
           
 void setName(String name)
           
 void setOwner(UserAccount owner)
           
 void setPollAccount(List<PollAccount> pollAccount)
           
 int sizePollAccount()
           
 
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

name

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


owner

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


pollAccount

protected List<PollAccount> pollAccount
Nom de l'attribut en BD : pollAccount

Constructor Detail

PersonListAbstract

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

setName

public void setName(String name)
Specified by:
setName in interface PersonList

getName

public String getName()
Specified by:
getName in interface PersonList

setOwner

public void setOwner(UserAccount owner)
Specified by:
setOwner in interface PersonList

getOwner

public UserAccount getOwner()
Specified by:
getOwner in interface PersonList

addPollAccount

public void addPollAccount(PollAccount pollAccount)
Specified by:
addPollAccount in interface PersonList

addAllPollAccount

public void addAllPollAccount(List<PollAccount> pollAccount)
Specified by:
addAllPollAccount in interface PersonList

setPollAccount

public void setPollAccount(List<PollAccount> pollAccount)
Specified by:
setPollAccount in interface PersonList

removePollAccount

public void removePollAccount(PollAccount pollAccount)
Specified by:
removePollAccount in interface PersonList

clearPollAccount

public void clearPollAccount()
Specified by:
clearPollAccount in interface PersonList

getPollAccount

public List<PollAccount> getPollAccount()
Specified by:
getPollAccount in interface PersonList

getPollAccountByTopiaId

public PollAccount getPollAccountByTopiaId(String topiaId)
Specified by:
getPollAccountByTopiaId in interface PersonList

sizePollAccount

public int sizePollAccount()
Specified by:
sizePollAccount in interface PersonList

isPollAccountEmpty

public boolean isPollAccountEmpty()
Specified by:
isPollAccountEmpty in interface PersonList

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.