|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sourceforge.mflow.impl.ContactGroupImpl
A collection of Contacts, with an optional name
| Method Summary | |
|---|---|
boolean |
add(Contact c)
Adds the specified contact to the ContactGroup |
boolean |
add(ContactGroup cg)
Adds the specified contact group to the ContactGroup |
boolean |
addAll(java.util.List list)
Adds the contents of the specified List to the ContactGroup |
Contact[] |
getContacts()
|
ContactGroup[] |
getGroups()
|
java.lang.String |
getName()
Accessor for the name |
void |
setName(java.lang.String name)
Mutator for the name |
int |
size()
|
java.lang.String |
toString()
Converts this ContactGroup into a String form |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getName()
getName in interface ContactGrouppublic void setName(java.lang.String name)
setName in interface ContactGroupname - the new namepublic boolean add(Contact c)
ContactGroup
add in interface ContactGroupc - The contact to add.
public boolean add(ContactGroup cg)
ContactGroup
add in interface ContactGroupcg - The contact group to add.
public boolean addAll(java.util.List list)
ContactGroup
addAll in interface ContactGrouplist - the List to add the contents of
public java.lang.String toString()
toString in class java.lang.Objectpublic Contact[] getContacts()
getContacts in interface ContactGrouppublic ContactGroup[] getGroups()
getGroups in interface ContactGrouppublic int size()
size in interface ContactGroup
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||