Dekoh platform API

com.pramati.bfly.das.contacts.persistence
Class Phone

java.lang.Object
  extended by PhoneDO
      extended by com.pramati.bfly.das.contacts.persistence.Phone

public class Phone
extends PhoneDO

Phone represents Contact's phone number. Use Contact.addPhone(Phone) for adding a phone number to a Contact.

Since:
9 Jul, 2007

Constructor Summary
Phone()
          To create an Phone with empty PhoneNumber and code.
Phone(String phone, PhoneType type)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Phone

public Phone()
To create an Phone with empty PhoneNumber and code. Developers are adviced no use this api for creating a Phone instance, Instead should use #Phone(String,com.pramati.bfly.cas.profile.dataObject.PhoneType)


Phone

public Phone(String phone,
             PhoneType type)
Parameters:
phone - phone No for this contact
type - Phone No type like Home/Mobile/Work.

Dekoh platform API

© 2009 Pramati Technologies - Dekoh - Portal for Developers