org.nuiton.topiatest
Class PersonneAbstract

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaEntityAbstract
      extended by org.nuiton.topiatest.deletetest.Party2Abstract
          extended by org.nuiton.topiatest.deletetest.Party2Impl
              extended by org.nuiton.topiatest.PersonneAbstract
All Implemented Interfaces:
Serializable, org.nuiton.topia.persistence.TopiaEntity, Party2, Personne
Direct Known Subclasses:
PersonneImpl

public abstract class PersonneAbstract
extends Party2Impl
implements Personne

See Also:
Serialized Form

Field Summary
protected  Address address
           
protected  String name
           
protected  Collection<String> otherNames
           
 
Fields inherited from class org.nuiton.topiatest.deletetest.Party2Abstract
contacts
 
Fields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables
 
Fields inherited from interface org.nuiton.topiatest.Personne
ADDRESS, NAME, OTHER_NAMES
 
Fields inherited from interface org.nuiton.topiatest.deletetest.Party2
CONTACTS
 
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
 
Constructor Summary
PersonneAbstract()
           
 
Method Summary
 List<org.nuiton.topia.persistence.TopiaEntity> accept()
          accept :
 void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
          accept : Envoi via les methodes du visitor l'ensemble des champs de l'entity avec leur nom, type et valeur.
 void addAllOtherNames(Collection<String> values)
          addAllOtherNames :
 void addOtherNames(String otherNames)
          addOtherNames :
 void clearOtherNames()
          clearOtherNames :
 void delete()
          delete :
 Address getAddress()
          getAddress :
 List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
          getComposite :
 String getName()
          getName :
 Collection<String> getOtherNames()
          getOtherNames :
 boolean isOtherNamesEmpty()
          isOtherNamesEmpty :
 void removeOtherNames(String value)
          removeOtherNames :
 void setAddress(Address value)
          setAddress :
 void setName(String value)
          setName :
 void setOtherNames(Collection<String> values)
          setOtherNames :
 int sizeOtherNames()
          sizeOtherNames :
 String toString()
          toString :
 void update()
          update :
 
Methods inherited from class org.nuiton.topiatest.deletetest.Party2Abstract
addAllContacts, addContacts, clearContacts, getContacts, getContactsByTopiaId, isContactsEmpty, removeContacts, setContacts, sizeContacts
 
Methods inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, equals, fireOnPostRead, fireOnPostRead, fireOnPostWrite, fireOnPostWrite, fireOnPreRead, fireOnPreWrite, getAggregate, 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.topiatest.deletetest.Party2
addAllContacts, addContacts, clearContacts, getContacts, getContactsByTopiaId, isContactsEmpty, removeContacts, setContacts, sizeContacts
 
Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getAggregate, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, postCreate, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion
 

Field Detail

name

protected String name

otherNames

protected Collection<String> otherNames

address

protected Address address
Constructor Detail

PersonneAbstract

public PersonneAbstract()
Method Detail

update

public void update()
            throws org.nuiton.topia.TopiaException
update :

Specified by:
update in interface org.nuiton.topia.persistence.TopiaEntity
Overrides:
update in class Party2Abstract
Throws:
org.nuiton.topia.TopiaException

delete

public void delete()
            throws org.nuiton.topia.TopiaException
delete :

Specified by:
delete in interface org.nuiton.topia.persistence.TopiaEntity
Overrides:
delete in class Party2Abstract
Throws:
org.nuiton.topia.TopiaException

accept

public void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
            throws org.nuiton.topia.TopiaException
accept : 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
Overrides:
accept in class Party2Abstract
Parameters:
visitor - le visiteur de l'entite.
Throws:
org.nuiton.topia.TopiaException

accept

public List<org.nuiton.topia.persistence.TopiaEntity> accept()
                                                      throws org.nuiton.topia.TopiaException
accept :

Overrides:
accept in class Party2Abstract
Returns:
List
Throws:
org.nuiton.topia.TopiaException

getComposite

public List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
                                                            throws org.nuiton.topia.TopiaException
getComposite :

Specified by:
getComposite in interface org.nuiton.topia.persistence.TopiaEntity
Overrides:
getComposite in class Party2Abstract
Returns:
List
Throws:
org.nuiton.topia.TopiaException

setName

public void setName(String value)
setName :

Specified by:
setName in interface Personne
Parameters:
value -

getName

public String getName()
getName :

Specified by:
getName in interface Personne
Returns:
String

addOtherNames

public void addOtherNames(String otherNames)
addOtherNames :

Specified by:
addOtherNames in interface Personne
Parameters:
otherNames -

addAllOtherNames

public void addAllOtherNames(Collection<String> values)
addAllOtherNames :

Specified by:
addAllOtherNames in interface Personne
Parameters:
values -

setOtherNames

public void setOtherNames(Collection<String> values)
setOtherNames :

Specified by:
setOtherNames in interface Personne
Parameters:
values -

removeOtherNames

public void removeOtherNames(String value)
removeOtherNames :

Specified by:
removeOtherNames in interface Personne
Parameters:
value -

clearOtherNames

public void clearOtherNames()
clearOtherNames :

Specified by:
clearOtherNames in interface Personne

getOtherNames

public Collection<String> getOtherNames()
getOtherNames :

Specified by:
getOtherNames in interface Personne
Returns:
Collection

sizeOtherNames

public int sizeOtherNames()
sizeOtherNames :

Specified by:
sizeOtherNames in interface Personne
Returns:
int

isOtherNamesEmpty

public boolean isOtherNamesEmpty()
isOtherNamesEmpty :

Specified by:
isOtherNamesEmpty in interface Personne
Returns:
boolean

setAddress

public void setAddress(Address value)
setAddress :

Specified by:
setAddress in interface Personne
Parameters:
value -

getAddress

public Address getAddress()
getAddress :

Specified by:
getAddress in interface Personne
Returns:
Address

toString

public String toString()
toString :

Overrides:
toString in class Party2Abstract
Returns:
String


Copyright © 2004-2010 CodeLutin. All Rights Reserved.