|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.compoze.contact.PrimaryTelephoneNumber
This class represents a contact primary telephone number. A primary number designates which is the contacts' primary telephone number.
Contact.setPrimaryTelephoneNumber(PrimaryTelephoneNumber)
,
Contact.getPrimaryTelephoneNumber()
, Serialized FormField Summary | |
static PrimaryTelephoneNumber |
ASSISTANT_TELEPHONE_NUMBER
This value represents a value of 'assistant telephone number'. |
static PrimaryTelephoneNumber |
BUSINESS_FAX_NUMBER
This value represents a value of 'business fax number'. |
static PrimaryTelephoneNumber |
BUSINESS_TELEPHONE_NUMBER
This value represents a value of 'business telephone number'. |
static PrimaryTelephoneNumber |
CAR_TELEPHONE_NUMBER
This value represents a value of 'car telephone number'. |
static PrimaryTelephoneNumber |
HOME_FAX_NUMBER
This value represents a value of 'home fax number'. |
static PrimaryTelephoneNumber |
HOME_TELEPHONE_NUMBER
This value represents a value of 'home telephone number'. |
static PrimaryTelephoneNumber |
MOBILE_TELEPHONE_NUMBER
This value represents a value of 'mobile telephone number'. |
static PrimaryTelephoneNumber |
OTHER_TELEPHONE_NUMBER
This value represents a value of 'other telephone number'. |
static PrimaryTelephoneNumber |
PAGER_TELEPHONE_NUMBER
This value represents a value of 'pager telephone number'. |
static java.util.List |
s_values
An array containing all of the fixed primary values. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Checks for equality. |
static PrimaryTelephoneNumber |
get(int iStoreValue)
Gets the primary telephone number by its store value. |
static PrimaryTelephoneNumber |
get(java.lang.String sName)
Gets the primary telephone number by the name in the system default locale. |
static java.util.List |
getList()
Gets the list of primary telephone number levels. |
java.lang.String |
getName()
Gets the name of the primary telephone number using the system default locale. |
java.lang.String |
getName(java.util.Locale locale)
Gets the name of the primary telephone number using the specified locale. |
int |
getStoreValue()
Gets the value that's used to store the primary telephone number in the storage system. |
java.lang.String |
toString()
Returns a string representation of the object. |
java.lang.String |
toString(java.util.Locale locale)
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static java.util.List s_values
public static final PrimaryTelephoneNumber HOME_TELEPHONE_NUMBER
public static final PrimaryTelephoneNumber MOBILE_TELEPHONE_NUMBER
public static final PrimaryTelephoneNumber PAGER_TELEPHONE_NUMBER
public static final PrimaryTelephoneNumber OTHER_TELEPHONE_NUMBER
public static final PrimaryTelephoneNumber BUSINESS_TELEPHONE_NUMBER
public static final PrimaryTelephoneNumber ASSISTANT_TELEPHONE_NUMBER
public static final PrimaryTelephoneNumber CAR_TELEPHONE_NUMBER
public static final PrimaryTelephoneNumber HOME_FAX_NUMBER
public static final PrimaryTelephoneNumber BUSINESS_FAX_NUMBER
Method Detail |
public java.lang.String getName()
public java.lang.String getName(java.util.Locale locale)
locale
- the localepublic int getStoreValue()
public static PrimaryTelephoneNumber get(int iStoreValue)
iStoreValue
- the store value to get bynull
if not foundpublic static PrimaryTelephoneNumber get(java.lang.String sName)
sName
- the name in the system default localenull
if not foundpublic static java.util.List getList()
PrimaryTelephoneNumber
s (unmodifiable)public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object to check (must be an PrimaryTelephoneNumber
or else a ClassCastException
is thrown)true
if this object has the same store value as the
argument, false
otherwisepublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(java.util.Locale locale)
locale
- the locale
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |