com.funambol.common.pim.model.contact
Class Phone
java.lang.Object
com.funambol.common.pim.model.common.Property
com.funambol.common.pim.model.common.TypifiedProperty
com.funambol.common.pim.model.contact.Phone
public class Phone
- extends TypifiedProperty
An object representing a phone number. This class holds informations about the
type of the telephone number (businness, home etc.) and the number itself
Fields inherited from class com.funambol.common.pim.model.common.Property |
altrep, chrset, cn, cutype, delegatedFrom, delegatedTo, dir, encoding, group, language, member, partstat, propertyValue, related, sentby, tag, type, value, xParams |
Constructor Summary |
Phone()
Creates an empty telephone number |
Phone(java.lang.String value)
Creates a telehpone number (Property) with the value. |
Methods inherited from class com.funambol.common.pim.model.common.Property |
compare, getAltrep, getCharset, getCn, getCutype, getDelegatedFrom, getDelegatedTo, getDir, getEncoding, getGroup, getLanguage, getMember, getPartstat, getPropertyValue, getPropertyValueAsString, getRelated, getSentby, getTag, getType, getValue, getXParams, isEmptyProperty, setAltrep, setCharset, setCn, setCutype, setDelegatedFrom, setDelegatedTo, setDir, setEncoding, setGroup, setLanguage, setMember, setPartstat, setPropertyValue, setRelated, setSentby, setTag, setType, setValue, setXParams, stringFrom, stringFrom |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Phone
public Phone()
- Creates an empty telephone number
Phone
public Phone(java.lang.String value)
- Creates a telehpone number (Property) with the value.
getMobileDCPhoneNumberID
public static java.lang.String getMobileDCPhoneNumberID(int idx)
getDCOnlyPhoneNumberID
public static java.lang.String getDCOnlyPhoneNumberID(int idx)
getTelexNumberID
public static java.lang.String getTelexNumberID(int idx)
getRadioPhoneNumberID
public static java.lang.String getRadioPhoneNumberID(int idx)
getCallbackPhoneNumberID
public static java.lang.String getCallbackPhoneNumberID(int idx)
getPrimaryPhoneNumberID
public static java.lang.String getPrimaryPhoneNumberID(int idx)
getCompanyPhoneNumberID
public static java.lang.String getCompanyPhoneNumberID(int idx)
getCarPhoneNumberID
public static java.lang.String getCarPhoneNumberID(int idx)
getPagerNumberID
public static java.lang.String getPagerNumberID(int idx)
getMobilePhoneNumberID
public static java.lang.String getMobilePhoneNumberID(int idx)
getMobileHomePhoneNumberID
public static java.lang.String getMobileHomePhoneNumberID(int idx)
getMobileBusinessPhoneNumberID
public static java.lang.String getMobileBusinessPhoneNumberID(int idx)
getOtherPhoneNumberID
public static java.lang.String getOtherPhoneNumberID(int idx)
getHomePhoneNumberID
public static java.lang.String getHomePhoneNumberID(int idx)
getBusinessPhoneNumberID
public static java.lang.String getBusinessPhoneNumberID(int idx)
getOtherFaxNumberID
public static java.lang.String getOtherFaxNumberID(int idx)
getHomeFaxNumberID
public static java.lang.String getHomeFaxNumberID(int idx)
getBusinessFaxNumberID
public static java.lang.String getBusinessFaxNumberID(int idx)
getPhoneType
public java.lang.String getPhoneType()
- Returns the phone type for this phone
- Returns:
- the phone type for this phone
setPhoneType
public void setPhoneType(java.lang.String phoneType)
- Sets the phone type for this phone
- Parameters:
phoneType
- the phone type to set
Copyright © 2001-2009 Funambol.