public class PhoneNumberCategory extends Object implements com.aspose.ms.System.IEquatable<PhoneNumberCategory>
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 |
OFFICE_VALUE
String value for 'Office' 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.
|
boolean |
equals(PhoneNumberCategory other)
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 |
getOffice()
Office 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 OFFICE_VALUE
String value for 'Office' 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
public static PhoneNumberCategory getHome()
Home phone number
public static PhoneNumberCategory getWork()
Work phone number
public static PhoneNumberCategory getOffice()
Office phone number
public static PhoneNumberCategory getMobile()
Mobile phone number
public static PhoneNumberCategory getFax()
Fax number
public static PhoneNumberCategory getHomeFax()
Home fax number
public static PhoneNumberCategory getWorkFax()
Work fax number
public static PhoneNumberCategory getPager()
Pager number
public static PhoneNumberCategory getCar()
Car phone number
public static PhoneNumberCategory getIsdn()
Isdn phone number
public static PhoneNumberCategory getTelex()
Telex
public static PhoneNumberCategory getCallback()
Callback phone number
public static PhoneNumberCategory getRadio()
Radio phone number
public static PhoneNumberCategory getCompany()
Company phone number
public static PhoneNumberCategory getTtyTdd()
Tty/Tdd
public static PhoneNumberCategory getAssistant()
Assistant phone number
public static PhoneNumberCategory getPrimary()
Primary phone number
public final String getValue()
Gets category of a phone number
public final String getDescription()
Gets description for the 'Custom' category of a phone number
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.
equals
in interface com.aspose.ms.System.IEquatable<PhoneNumberCategory>
equals
in class Object
obj
- The Object to compare with 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 comparepublic boolean equals(PhoneNumberCategory other)
Determines whether the specified object is equal to the current object.
other
- The object to compare with the current object.