biz.janux.people
Interface Contacteable

All Known Subinterfaces:
Organization, Party, Person

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

getContactMethods

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...


setContactMethods

void setContactMethods(Map<String,ContactMethod> contactMethods)

getContactMethod

ContactMethod getContactMethod(String kind)
return the contact method of the kind indicated


setContactMethod

void setContactMethod(String kind,
                      ContactMethod contactMethod)
set the contact method of the kind indicated


getPostalAddresses

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...


getPostalAddress

PostalAddress getPostalAddress(String kind)
return the postal address of the kind indicated


getPhoneNumbers

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...


getPhoneNumber

PhoneNumber getPhoneNumber(String kind)
return the phone number of the kind indicated


getEmailAddresses

Map getEmailAddresses()
map of Email addresses keyed by a string code representing a user-defined kind of ContactMethod, such as EMAIL1, INFO_EMAIL etc...


getEmailAddress

Uri getEmailAddress(String kind)
return the email address of the kind indicated


getUrls

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...


getUrl

Url getUrl(String kind)
return the url of the kind indicated



Copyright © 2005-2013 Janux. All Rights Reserved.