mobi.voiceassistant.client.model
Class Contact.Phone

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

public static class Contact.Phone
extends Object


Field Summary
 String number
           
 int type
           
 
Constructor Summary
Contact.Phone(String number, int type)
           
 
Method Summary
static String[] getPhonesArray(Collection<Contact.Phone> phones)
           
static ArrayList<Contact.Phone> getPhonesByType(ArrayList<Contact.Phone> phones, int type)
           
static ArrayList<String> getPhonesList(Collection<Contact.Phone> phones)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

number

public final String number

type

public final int type
Constructor Detail

Contact.Phone

public Contact.Phone(String number,
                     int type)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getPhonesList

public static ArrayList<String> getPhonesList(Collection<Contact.Phone> phones)

getPhonesArray

public static String[] getPhonesArray(Collection<Contact.Phone> phones)

getPhonesByType

public static ArrayList<Contact.Phone> getPhonesByType(ArrayList<Contact.Phone> phones,
                                                       int type)