|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface modeling a contact group.
Method Summary | |
void |
addContact(Contact contact)
Adds a contact to this ContactGroup. |
boolean |
contains(Contact contact)
Tests if this ContactGroup contains a given contact. |
boolean |
contains(java.lang.String UID)
Tests if this ContactGroup contains a given contact. |
java.util.Iterator |
getContacts()
Returns all contacts associated with this ContactGroup. |
java.lang.String |
getDescription()
Returns the description of this ContactGroup. |
java.lang.String |
getName()
Returns the name of this ContactGroup. |
Contact[] |
listContacts()
Returns all contacts associated with this ContactGroup. |
void |
removeContact(Contact contact)
Removes a contact from this ContactGroup. |
void |
setDescription(java.lang.String description)
Sets the description of this ContactGroup. |
void |
setName(java.lang.String name)
Sets the name of this ContactGroup. |
int |
size()
Returns the number of contacts in this ContactGroup. |
Methods inherited from interface net.wimpi.pim.util.Identifiable |
getUID |
Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name as String.public java.util.Iterator getContacts()
public Contact[] listContacts()
public void addContact(Contact contact)
contact
- the contact to be added as Contact.public void removeContact(Contact contact)
contact
- the contact to be removed from
this ContactGroup.public boolean contains(java.lang.String UID)
UID
- the unique identifier of the contact as String.
public boolean contains(Contact contact)
contact
- the contact as Contact.
public int size()
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the description as String.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |