|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.common.pim.model.contact.ContactDetail
public class ContactDetail
An object containing details on how to reach a contact (phone numbers, e-mail addresses, webpage etc.).
Constructor Summary | |
---|---|
ContactDetail()
|
Method Summary | |
---|---|
void |
addEmail(Email email)
Adds a new email address to the list. |
void |
addPhone(Phone phone)
Adds a new phone number to the list. |
protected void |
addTypifiedProperty(java.util.List<? extends TypifiedProperty> list,
TypifiedProperty addition)
Adds a typified property to a list if no property of that type is already there, or updates it if there is one. |
void |
addWebPage(WebPage page)
Adds a new webpage to the list. |
java.util.List |
getEmails()
Returns the list of e-mail addresses. |
java.util.List |
getPhones()
Returns the list of telephone numbers. |
java.util.List |
getWebPages()
Returns the list of webpages. |
void |
setEmails(java.util.List emails)
Sets a new list of e-mail addresses. |
void |
setPhones(java.util.List phones)
Sets a new list of phones. |
void |
setWebPages(java.util.List webPages)
Sets a new list of webpages |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContactDetail()
Method Detail |
---|
public java.util.List getPhones()
public java.util.List getEmails()
public java.util.List getWebPages()
public void setPhones(java.util.List phones)
phones
- new value of list phonespublic void setEmails(java.util.List emails)
emails
- new value of list emailspublic void setWebPages(java.util.List webPages)
webPages
- new value of list webpagespublic void addPhone(Phone phone)
phone
- the new phone numberpublic void addEmail(Email email)
email
- the new email addresspublic void addWebPage(WebPage page)
page
- the new webpageprotected void addTypifiedProperty(java.util.List<? extends TypifiedProperty> list, TypifiedProperty addition)
list
- a list of objects of some class that extends TypifiedPropertyaddition
- the item to add or replace in the list
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |