org.nuiton.topiatest.deletetest
Class Party2Abstract

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

public abstract class Party2Abstract
extends org.nuiton.topia.persistence.TopiaEntityAbstract
implements Party2

See Also:
Serialized Form

Field Summary
protected  Collection<Contact2> 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.deletetest.Party2
CONTACTS
 
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
 
Constructor Summary
Party2Abstract()
           
 
Method Summary
 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 addAllContacts(Collection<Contact2> values)
          addAllContacts :
 void addContacts(Contact2 contacts)
          addContacts :
 void clearContacts()
          clearContacts :
 void delete()
          Deprecated. since 2.3.4, use the DAO api instead.
 List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
          getAggregate :
 List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
          getComposite :
 Collection<Contact2> getContacts()
          getContacts :
 Contact2 getContactsByTopiaId(String topiaId)
          getContactsByTopiaId :
 boolean isContactsEmpty()
          isContactsEmpty :
 void removeContacts(Contact2 value)
          removeContacts :
 void setContacts(Collection<Contact2> values)
          setContacts :
 int sizeContacts()
          sizeContacts :
 String toString()
          toString :
 void update()
          Deprecated. since 2.3.4, use the DAO api instead.
 
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, 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

contacts

protected Collection<Contact2> contacts
Constructor Detail

Party2Abstract

public Party2Abstract()
Method Detail

update

@Deprecated
public void update()
            throws org.nuiton.topia.TopiaException
Deprecated. since 2.3.4, use the DAO api instead.

update :

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

@Deprecated
public void delete()
            throws org.nuiton.topia.TopiaException
Deprecated. since 2.3.4, use the DAO api instead.

delete :

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
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
Parameters:
visitor - le visiteur de l'entite.
Throws:
org.nuiton.topia.TopiaException

getAggregate

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

Specified by:
getAggregate in interface org.nuiton.topia.persistence.TopiaEntity
Overrides:
getAggregate in class org.nuiton.topia.persistence.TopiaEntityAbstract
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 org.nuiton.topia.persistence.TopiaEntityAbstract
Returns:
List
Throws:
org.nuiton.topia.TopiaException

addContacts

public void addContacts(Contact2 contacts)
addContacts :

Specified by:
addContacts in interface Party2
Parameters:
contacts -

addAllContacts

public void addAllContacts(Collection<Contact2> values)
addAllContacts :

Specified by:
addAllContacts in interface Party2
Parameters:
values -

getContactsByTopiaId

public Contact2 getContactsByTopiaId(String topiaId)
getContactsByTopiaId :

Specified by:
getContactsByTopiaId in interface Party2
Parameters:
topiaId -
Returns:
Contact2

setContacts

public void setContacts(Collection<Contact2> values)
setContacts :

Specified by:
setContacts in interface Party2
Parameters:
values -

removeContacts

public void removeContacts(Contact2 value)
removeContacts :

Specified by:
removeContacts in interface Party2
Parameters:
value -

clearContacts

public void clearContacts()
clearContacts :

Specified by:
clearContacts in interface Party2

getContacts

public Collection<Contact2> getContacts()
getContacts :

Specified by:
getContacts in interface Party2
Returns:
Collection

sizeContacts

public int sizeContacts()
sizeContacts :

Specified by:
sizeContacts in interface Party2
Returns:
int

isContactsEmpty

public boolean isContactsEmpty()
isContactsEmpty :

Specified by:
isContactsEmpty in interface Party2
Returns:
boolean

toString

public String toString()
toString :

Overrides:
toString in class Object
Returns:
String


Copyright © 2004-2010 CodeLutin. All Rights Reserved.