|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Contacteable
An interface for an entity which may have Phone Numbers, Postal Addresses, Emails, Urls, or other contact methods; for example, Person, Organizations, Orders, etc...
Method Summary | |
---|---|
ContactMethod |
getContactMethod(String kind)
return the contact method of the kind indicated |
Map<String,ContactMethod> |
getContactMethods()
map of ContactMethods keyed by a string code representing a user-defined kind of ContactMethod, such as PHYSICAL_ADDRESS, CUST_SERVICE_PHONE, EMAIL_INFO, etc... |
Uri |
getEmailAddress(String kind)
return the email address of the kind indicated |
Map |
getEmailAddresses()
map of Email addresses keyed by a string code representing a user-defined kind of ContactMethod, such as EMAIL1, INFO_EMAIL etc... |
PhoneNumber |
getPhoneNumber(String kind)
return the phone number of the kind indicated |
Map |
getPhoneNumbers()
map of Telephone numbers keyed by a string code representing a user-defined kind of ContactMethod, such as CUST_SERVICE_PHONE, BILLING_PHONE, etc... |
PostalAddress |
getPostalAddress(String kind)
return the postal address of the kind indicated |
Map |
getPostalAddresses()
Postal mailing addresses keyed by a string code representing a user-defined kind of ContactMethod, such as PHYSICAL_ADDRESS, MAILING_ADDRESS, BILLING_ADDRESS, etc... |
Url |
getUrl(String kind)
return the url of the kind indicated |
Map |
getUrls()
map of Uniform Resource Locators (eg web page or ftp addresses) keyed by a string code representing a user-defined kind of ContactMethod such as WEB_SITE, INTRANET, etc... |
void |
setContactMethod(String kind,
ContactMethod contactMethod)
set the contact method of the kind indicated |
void |
setContactMethods(Map<String,ContactMethod> contactMethods)
|
Method Detail |
---|
Map<String,ContactMethod> getContactMethods()
void setContactMethods(Map<String,ContactMethod> contactMethods)
ContactMethod getContactMethod(String kind)
void setContactMethod(String kind, ContactMethod contactMethod)
Map getPostalAddresses()
PostalAddress getPostalAddress(String kind)
Map getPhoneNumbers()
PhoneNumber getPhoneNumber(String kind)
Map getEmailAddresses()
Uri getEmailAddress(String kind)
Map getUrls()
Url getUrl(String kind)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |