mobi.voiceassistant.client.model
Class Contact.ContactBuilder

java.lang.Object
  extended by mobi.voiceassistant.client.model.Contact.ContactBuilder
Enclosing class:
Contact

public static class Contact.ContactBuilder
extends Object


Constructor Summary
Contact.ContactBuilder(String id, String name)
           
 
Method Summary
 Contact.ContactBuilder addEmail(String email)
           
 Contact.ContactBuilder addPhone(String number, int type)
           
 Contact.ContactBuilder addPhotoURI(Uri photoUri)
           
 Contact getContact()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Contact.ContactBuilder

public Contact.ContactBuilder(String id,
                              String name)
Method Detail

addPhotoURI

public Contact.ContactBuilder addPhotoURI(Uri photoUri)

addPhone

public Contact.ContactBuilder addPhone(String number,
                                       int type)

addEmail

public Contact.ContactBuilder addEmail(String email)

getContact

public Contact getContact()