|
|||||||||||
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 ContactGroup
public void setName(java.lang.String name)
setName
in interface ContactGroup
name
- the new namepublic boolean add(Contact c)
ContactGroup
add
in interface ContactGroup
c
- The contact to add.
public boolean add(ContactGroup cg)
ContactGroup
add
in interface ContactGroup
cg
- The contact group to add.
public boolean addAll(java.util.List list)
ContactGroup
addAll
in interface ContactGroup
list
- the List to add the contents of
public java.lang.String toString()
toString
in class java.lang.Object
public Contact[] getContacts()
getContacts
in interface ContactGroup
public ContactGroup[] getGroups()
getGroups
in interface ContactGroup
public int size()
size
in interface ContactGroup
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |