public class PhoneNumberCategory extends Object
Represents category for a phone number
Modifier and Type | Field and Description |
---|---|
static String |
ASSISTANT_VALUE
String value for 'Assistant' category
|
static String |
CALLBACK_VALUE
String value for 'Callback' category
|
static String |
CAR_VALUE
String value for 'Car' category
|
static String |
COMPANY_VALUE
String value for 'Company' category
|
static String |
CUSTOM_VALUE
String value for 'Custom' category
|
static String |
FAX_VALUE
String value for 'Fax' category
|
static String |
HOME_FAX_VALUE
String value for 'Fax' category
|
static String |
HOME_VALUE
String value for 'Home' category
|
static String |
ISDN_VALUE
String value for 'Isdn' category
|
static String |
MOBILE_VALUE
String value for 'Mobile' category
|
static String |
PAGER_VALUE
String value for 'Pager' category
|
static String |
PRIMARY_VALUE
String value for 'Primary' category
|
static String |
RADIO_VALUE
String value for 'Radio' category
|
static String |
TELEX_VALUE
String value for 'Telex' category
|
static String |
TTY_TDD_VALUE
String value for 'TtyTdd' category
|
static String |
WORK_FAX_VALUE
String value for 'Fax' category
|
static String |
WORK_VALUE
String value for 'Work' category
|
Constructor and Description |
---|
PhoneNumberCategory(String description)
Initializes a new instance of the
PhoneNumberCategory class with 'Custom' category. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Determines whether the specified Object is equal to the current Object.
|
static PhoneNumberCategory |
getAssistant()
Assistant phone number
|
static PhoneNumberCategory |
getCallback()
Callback phone number
|
static PhoneNumberCategory |
getCar()
Car phone number
|
static PhoneNumberCategory |
getCompany()
Company phone number
|
static PhoneNumberCategory |
getCustom()
Custom phone category
|
String |
getDescription()
Gets description for the 'Custom' category of a phone number
|
static PhoneNumberCategory |
getFax()
Fax number
|
static PhoneNumberCategory |
getHome()
Home phone number
|
static PhoneNumberCategory |
getHomeFax()
Home fax number
|
static PhoneNumberCategory |
getIsdn()
Isdn phone number
|
static PhoneNumberCategory |
getMobile()
Mobile phone number
|
static PhoneNumberCategory |
getPager()
Pager number
|
static PhoneNumberCategory |
getPrimary()
Primary phone number
|
static PhoneNumberCategory |
getRadio()
Radio phone number
|
static PhoneNumberCategory |
getTelex()
Telex
|
static PhoneNumberCategory |
getTtyTdd()
Tty/Tdd
|
String |
getValue()
Gets category of a phone number
|
static PhoneNumberCategory |
getWork()
Work phone number
|
static PhoneNumberCategory |
getWorkFax()
Work fax number
|
int |
hashCode()
GetHashCode returns a hash function for this object.
|
static boolean |
op_Equality(PhoneNumberCategory a,
PhoneNumberCategory b)
Determines whether the specified objects are equal.
|
static boolean |
op_Inequality(PhoneNumberCategory a,
PhoneNumberCategory b)
Determines whether the specified objects are not equal.
|
String |
toString()
Returns a string that represents the current object.
|
public static final String CUSTOM_VALUE
String value for 'Custom' category
public static final String HOME_VALUE
String value for 'Home' category
public static final String WORK_VALUE
String value for 'Work' category
public static final String MOBILE_VALUE
String value for 'Mobile' category
public static final String FAX_VALUE
String value for 'Fax' category
public static final String HOME_FAX_VALUE
String value for 'Fax' category
public static final String WORK_FAX_VALUE
String value for 'Fax' category
public static final String PAGER_VALUE
String value for 'Pager' category
public static final String CAR_VALUE
String value for 'Car' category
public static final String ISDN_VALUE
String value for 'Isdn' category
public static final String TELEX_VALUE
String value for 'Telex' category
public static final String CALLBACK_VALUE
String value for 'Callback' category
public static final String RADIO_VALUE
String value for 'Radio' category
public static final String COMPANY_VALUE
String value for 'Company' category
public static final String TTY_TDD_VALUE
String value for 'TtyTdd' category
public static final String ASSISTANT_VALUE
String value for 'Assistant' category
public static final String PRIMARY_VALUE
String value for 'Primary' category
public PhoneNumberCategory(String description)
Initializes a new instance of the PhoneNumberCategory
class with 'Custom' category.
description
- Description for the 'Custom' category of a phone numberpublic static PhoneNumberCategory getCustom()
Custom phone category
PhoneNumberCategory
object.public static PhoneNumberCategory getHome()
Home phone number
PhoneNumberCategory
object.public static PhoneNumberCategory getWork()
Work phone number
PhoneNumberCategory
object.public static PhoneNumberCategory getMobile()
Mobile phone number
PhoneNumberCategory
object.public static PhoneNumberCategory getFax()
Fax number
PhoneNumberCategory
object.public static PhoneNumberCategory getHomeFax()
Home fax number
PhoneNumberCategory
object.public static PhoneNumberCategory getWorkFax()
Work fax number
PhoneNumberCategory
object.public static PhoneNumberCategory getPager()
Pager number
PhoneNumberCategory
object.public static PhoneNumberCategory getCar()
Car phone number
PhoneNumberCategory
object.public static PhoneNumberCategory getIsdn()
Isdn phone number
PhoneNumberCategory
object.public static PhoneNumberCategory getTelex()
Telex
PhoneNumberCategory
object.public static PhoneNumberCategory getCallback()
Callback phone number
PhoneNumberCategory
object.public static PhoneNumberCategory getRadio()
Radio phone number
PhoneNumberCategory
object.public static PhoneNumberCategory getCompany()
Company phone number
PhoneNumberCategory
object.public static PhoneNumberCategory getTtyTdd()
Tty/Tdd
PhoneNumberCategory
object.public static PhoneNumberCategory getAssistant()
Assistant phone number
PhoneNumberCategory
object.public static PhoneNumberCategory getPrimary()
Primary phone number
PhoneNumberCategory
object.public String getDescription()
Gets description for the 'Custom' category of a phone number
String
object.public String toString()
Returns a string that represents the current object.
public int hashCode()
GetHashCode returns a hash function for this object.
public boolean equals(Object obj)
Determines whether the specified Object is equal to the current Object.
public static boolean op_Equality(PhoneNumberCategory a, PhoneNumberCategory b)
Determines whether the specified objects are equal.
a
- First object to compareb
- Second object to comparepublic static boolean op_Inequality(PhoneNumberCategory a, PhoneNumberCategory b)
Determines whether the specified objects are not equal.
a
- First object to compareb
- Second object to compareCopyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.