|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.techventus.server.voice.datatypes.Contact
public class Contact
A Contact TODO I think we need to add several subclasses for the different contact infos like phone numbers, Email addresses and such
Constructor Summary | |
---|---|
Contact(java.lang.String name,
java.lang.String id,
java.lang.String number,
java.lang.String imageUrl)
|
Method Summary | |
---|---|
int |
compareTo(Contact o)
|
static Contact |
extractContact(java.lang.String html)
Deprecated. |
java.lang.String |
getId()
|
java.lang.String |
getImageUrl()
Gets the Url of the Contacts image on the web |
java.lang.String |
getName()
|
java.lang.String |
getNumber()
Gets the phone number |
void |
setId(java.lang.String id)
|
void |
setImageUrl(java.lang.String imageUrl)
Sets the Url of the Contacts image on the web |
void |
setName(java.lang.String name)
Gets the Display name of the contact |
void |
setNumber(java.lang.String number)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Contact(java.lang.String name, java.lang.String id, java.lang.String number, java.lang.String imageUrl)
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to setpublic java.lang.String getNumber()
public void setNumber(java.lang.String number)
number
- the number to setpublic java.lang.String getImageUrl()
public void setImageUrl(java.lang.String imageUrl)
imageUrl
- the imageUrl to setpublic java.lang.String getId()
public void setId(java.lang.String id)
id
- the id to setpublic java.lang.String toString()
toString
in class java.lang.Object
@Deprecated public static Contact extractContact(java.lang.String html)
html
- the html
public int compareTo(Contact o)
compareTo
in interface java.lang.Comparable<Contact>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |