org.nuiton.topiatest.deletetest
Interface Party2

All Superinterfaces:
org.nuiton.topia.persistence.TopiaEntity
All Known Subinterfaces:
Employe, Personne
All Known Implementing Classes:
EmployeAbstract, EmployeImpl, Party2Abstract, Party2Impl, PersonneAbstract, PersonneImpl

public interface Party2
extends org.nuiton.topia.persistence.TopiaEntity


Field Summary
static java.lang.String CONTACTS
           
 
Method Summary
 void addAllContacts(java.util.Collection<Contact2> contacts)
          addAllContacts :
 void addContacts(Contact2 contacts)
          addContacts :
 void clearContacts()
          clearContacts :
 java.util.Collection<Contact2> getContacts()
          getContacts :
 Contact2 getContactsByTopiaId(java.lang.String topiaId)
          getContactsByTopiaId : Recupère l'attribut contacts à partir de son topiaId
 boolean isContactsEmpty()
          isContactsEmpty : Retourne true si la collection contacts est vide.
 void removeContacts(Contact2 contacts)
          removeContacts :
 void setContacts(java.util.Collection<Contact2> contacts)
          setContacts :
 int sizeContacts()
          sizeContacts : Retourne le nombre d'éléments de la collection contacts
 
Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity
accept, addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, delete, getAggregate, getComposite, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, postCreate, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion, update
 

Field Detail

CONTACTS

static final java.lang.String CONTACTS
See Also:
Constant Field Values
Method Detail

addContacts

void addContacts(Contact2 contacts)
addContacts :

Parameters:
contacts - L'instance de contacts à ajouter

addAllContacts

void addAllContacts(java.util.Collection<Contact2> contacts)
addAllContacts :

Parameters:
contacts - Les instances de contacts à ajouter

setContacts

void setContacts(java.util.Collection<Contact2> contacts)
setContacts :

Parameters:
contacts - La Collection de contacts à ajouter

removeContacts

void removeContacts(Contact2 contacts)
removeContacts :

Parameters:
contacts - Vide la Collection de contacts

clearContacts

void clearContacts()
clearContacts :


getContacts

java.util.Collection<Contact2> getContacts()
getContacts :

Returns:
Collection

getContactsByTopiaId

Contact2 getContactsByTopiaId(java.lang.String topiaId)
getContactsByTopiaId : Recupère l'attribut contacts à partir de son topiaId

Parameters:
topiaId - le topia id de l'entité recherchée
Returns:
Contact2

sizeContacts

int sizeContacts()
sizeContacts : Retourne le nombre d'éléments de la collection contacts

Returns:
int

isContactsEmpty

boolean isContactsEmpty()
isContactsEmpty : Retourne true si la collection contacts est vide.

Returns:
boolean


Copyright © 2004-2009 CodeLutin. All Rights Reserved.