|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A class for representing an entity with which communication can occur Serves primarily as a repository for ContactMethods, associated with a name
| Method Summary | |
|---|---|
void |
addContactMethod(ContactMethod cm)
Adds a ContactMethod |
ContactMethod[] |
getContactMethods()
Accessor for all of the ContactMethods associated with this Contact |
ContactMethod |
getContactMethods(int index)
Accessor for a single ContactMethod associated with this Contact |
java.lang.String |
getName()
Accessor for the name |
void |
removeContactMethod(ContactMethod cm)
Removes a ContactMethod if it is a member of this Contact |
void |
setContactMethods(ContactMethod[] cms)
Mutator for all of the ContactMethods associated with this Contact |
void |
setContactMethods(int index,
ContactMethod cm)
Mutator for a single ContactMethod associated with this Contact |
void |
setName(java.lang.String name)
Mutator for the name |
| Method Detail |
|---|
void setName(java.lang.String name)
name - the new namejava.lang.String getName()
void addContactMethod(ContactMethod cm)
cm - the ContactMethod to addvoid removeContactMethod(ContactMethod cm)
cm - the ContactMethod to removeContactMethod[] getContactMethods()
void setContactMethods(ContactMethod[] cms)
cms - an array of ContactMethodsContactMethod getContactMethods(int index)
index - the index of the ContactMethod to return
void setContactMethods(int index,
ContactMethod cm)
index - the index of the ContactMethod to changecm - the ContactMethod to set
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||