org.nuiton.topiatest.deletetest
Interface Party2

All Superinterfaces:
Serializable, 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 String PROPERTY_CONTACTS
           
 
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
 
Method Summary
 void addAllContacts(Collection<Contact2> contacts)
          addAllContacts :
 void addContacts(Contact2 contacts)
          addContacts :
 void clearContacts()
          clearContacts :
 Collection<Contact2> getContacts()
          getContacts : Retourne la collection.
 Contact2 getContactsByTopiaId(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(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, getAggregate, getComposite, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion
 

Field Detail

PROPERTY_CONTACTS

static final String PROPERTY_CONTACTS
See Also:
Constant Field Values
Method Detail

addContacts

void addContacts(Contact2 contacts)
addContacts :

Parameters:
contacts - L'instance de org.nuiton.topiatest.deletetest.Contact2 à ajouter

addAllContacts

void addAllContacts(Collection<Contact2> contacts)
addAllContacts :

Parameters:
contacts - Les instances de org.nuiton.topiatest.deletetest.Contact2 à ajouter

setContacts

void setContacts(Collection<Contact2> contacts)
setContacts :

Parameters:
contacts - La valeur de l'attribut à positionner.

removeContacts

void removeContacts(Contact2 contacts)
removeContacts :

Parameters:
contacts - L'instance de org.nuiton.topiatest.deletetest.Contact2 à retirer

clearContacts

void clearContacts()
clearContacts :


getContacts

Collection<Contact2> getContacts()
getContacts : Retourne la collection.

Returns:
Collection

getContactsByTopiaId

Contact2 getContactsByTopiaId(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-2011 CodeLutin. All Rights Reserved.