PhoneNumberCategory

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.ms.System.IEquatable

public class PhoneNumberCategory implements System.IEquatable<PhoneNumberCategory>

Represents category for a phone number

Constructors

ConstructorDescription
PhoneNumberCategory(String description)Initializes a new instance of the PhoneNumberCategory class with ‘Custom’ category.

Fields

FieldDescription
ASSISTANT_VALUEString value for ‘Assistant’ category
CALLBACK_VALUEString value for ‘Callback’ category
CAR_VALUEString value for ‘Car’ category
COMPANY_VALUEString value for ‘Company’ category
CUSTOM_VALUEString value for ‘Custom’ category
FAX_VALUEString value for ‘Fax’ category
HOME_FAX_VALUEString value for ‘Fax’ category
HOME_VALUEString value for ‘Home’ category
ISDN_VALUEString value for ‘Isdn’ category
MOBILE_VALUEString value for ‘Mobile’ category
OFFICE_VALUEString value for ‘Office’ category
PAGER_VALUEString value for ‘Pager’ category
PRIMARY_VALUEString value for ‘Primary’ category
RADIO_VALUEString value for ‘Radio’ category
TELEX_VALUEString value for ‘Telex’ category
TTY_TDD_VALUEString value for ‘TtyTdd’ category
WORK_FAX_VALUEString value for ‘Fax’ category
WORK_VALUEString value for ‘Work’ category

Methods

MethodDescription
equals(PhoneNumberCategory other)Determines whether the specified object is equal to the current object.
equals(Object obj)Determines whether the specified Object is equal to the current Object.
getAssistant()Assistant phone number
getCallback()Callback phone number
getCar()Car phone number
getClass()
getCompany()Company phone number
getCustom()Custom phone category
getDescription()Gets description for the ‘Custom’ category of a phone number
getFax()Fax number
getHome()Home phone number
getHomeFax()Home fax number
getIsdn()Isdn phone number
getMobile()Mobile phone number
getOffice()Office phone number
getPager()Pager number
getPrimary()Primary phone number
getRadio()Radio phone number
getTelex()Telex
getTtyTdd()Tty/Tdd
getValue()Gets category of a phone number
getWork()Work phone number
getWorkFax()Work fax number
hashCode()GetHashCode returns a hash function for this object.
notify()
notifyAll()
op_Equality(PhoneNumberCategory a, PhoneNumberCategory b)Determines whether the specified objects are equal.
op_Inequality(PhoneNumberCategory a, PhoneNumberCategory b)Determines whether the specified objects are not equal.
toString()Returns a string that represents the current object.
wait()
wait(long arg0)
wait(long arg0, int arg1)

PhoneNumberCategory(String description)

public PhoneNumberCategory(String description)

Initializes a new instance of the PhoneNumberCategory class with ‘Custom’ category.

Parameters:

ParameterTypeDescription
descriptionjava.lang.StringDescription for the ‘Custom’ category of a phone number

ASSISTANT_VALUE

public static final String ASSISTANT_VALUE

String value for ‘Assistant’ category

CALLBACK_VALUE

public static final String CALLBACK_VALUE

String value for ‘Callback’ category

CAR_VALUE

public static final String CAR_VALUE

String value for ‘Car’ category

COMPANY_VALUE

public static final String COMPANY_VALUE

String value for ‘Company’ category

CUSTOM_VALUE

public static final String CUSTOM_VALUE

String value for ‘Custom’ category

FAX_VALUE

public static final String FAX_VALUE

String value for ‘Fax’ category

HOME_FAX_VALUE

public static final String HOME_FAX_VALUE

String value for ‘Fax’ category

HOME_VALUE

public static final String HOME_VALUE

String value for ‘Home’ category

ISDN_VALUE

public static final String ISDN_VALUE

String value for ‘Isdn’ category

MOBILE_VALUE

public static final String MOBILE_VALUE

String value for ‘Mobile’ category

OFFICE_VALUE

public static final String OFFICE_VALUE

String value for ‘Office’ category

PAGER_VALUE

public static final String PAGER_VALUE

String value for ‘Pager’ category

PRIMARY_VALUE

public static final String PRIMARY_VALUE

String value for ‘Primary’ category

RADIO_VALUE

public static final String RADIO_VALUE

String value for ‘Radio’ category

TELEX_VALUE

public static final String TELEX_VALUE

String value for ‘Telex’ category

TTY_TDD_VALUE

public static final String TTY_TDD_VALUE

String value for ‘TtyTdd’ category

WORK_FAX_VALUE

public static final String WORK_FAX_VALUE

String value for ‘Fax’ category

WORK_VALUE

public static final String WORK_VALUE

String value for ‘Work’ category

equals(PhoneNumberCategory other)

public boolean equals(PhoneNumberCategory other)

Determines whether the specified object is equal to the current object.

Parameters:

ParameterTypeDescription
otherPhoneNumberCategoryThe object to compare with the current object.

Returns: boolean - true if the specified object is equal to the current object; otherwise, false.

equals(Object obj)

public boolean equals(Object obj)

Determines whether the specified Object is equal to the current Object.

Parameters:

ParameterTypeDescription
objjava.lang.ObjectThe Object to compare with the current Object.

Returns: boolean - Returns a boolean indicating if the passed in object obj is Equal to this.

getAssistant()

public static PhoneNumberCategory getAssistant()

Assistant phone number

Returns: PhoneNumberCategory

getCallback()

public static PhoneNumberCategory getCallback()

Callback phone number

Returns: PhoneNumberCategory

getCar()

public static PhoneNumberCategory getCar()

Car phone number

Returns: PhoneNumberCategory

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCompany()

public static PhoneNumberCategory getCompany()

Company phone number

Returns: PhoneNumberCategory

getCustom()

public static PhoneNumberCategory getCustom()

Custom phone category

Returns: PhoneNumberCategory

getDescription()

public final String getDescription()

Gets description for the ‘Custom’ category of a phone number

Returns: java.lang.String

getFax()

public static PhoneNumberCategory getFax()

Fax number

Returns: PhoneNumberCategory

getHome()

public static PhoneNumberCategory getHome()

Home phone number

Returns: PhoneNumberCategory

getHomeFax()

public static PhoneNumberCategory getHomeFax()

Home fax number

Returns: PhoneNumberCategory

getIsdn()

public static PhoneNumberCategory getIsdn()

Isdn phone number

Returns: PhoneNumberCategory

getMobile()

public static PhoneNumberCategory getMobile()

Mobile phone number

Returns: PhoneNumberCategory

getOffice()

public static PhoneNumberCategory getOffice()

Office phone number

Returns: PhoneNumberCategory

getPager()

public static PhoneNumberCategory getPager()

Pager number

Returns: PhoneNumberCategory

getPrimary()

public static PhoneNumberCategory getPrimary()

Primary phone number

Returns: PhoneNumberCategory

getRadio()

public static PhoneNumberCategory getRadio()

Radio phone number

Returns: PhoneNumberCategory

getTelex()

public static PhoneNumberCategory getTelex()

Telex

Returns: PhoneNumberCategory

getTtyTdd()

public static PhoneNumberCategory getTtyTdd()

Tty/Tdd

Returns: PhoneNumberCategory

getValue()

public final String getValue()

Gets category of a phone number

Returns: java.lang.String

getWork()

public static PhoneNumberCategory getWork()

Work phone number

Returns: PhoneNumberCategory

getWorkFax()

public static PhoneNumberCategory getWorkFax()

Work fax number

Returns: PhoneNumberCategory

hashCode()

public int hashCode()

GetHashCode returns a hash function for this object.

Returns: int - Returns a hash function for this object.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

op_Equality(PhoneNumberCategory a, PhoneNumberCategory b)

public static boolean op_Equality(PhoneNumberCategory a, PhoneNumberCategory b)

Determines whether the specified objects are equal.

Parameters:

ParameterTypeDescription
aPhoneNumberCategoryFirst object to compare
bPhoneNumberCategorySecond object to compare

Returns: boolean - Returns true if objects are equal, otherwise false.

op_Inequality(PhoneNumberCategory a, PhoneNumberCategory b)

public static boolean op_Inequality(PhoneNumberCategory a, PhoneNumberCategory b)

Determines whether the specified objects are not equal.

Parameters:

ParameterTypeDescription
aPhoneNumberCategoryFirst object to compare
bPhoneNumberCategorySecond object to compare

Returns: boolean - Returns true if objects are not equal, otherwise false.

toString()

public String toString()

Returns a string that represents the current object.

Returns: java.lang.String - Returns a string that represents the current object.

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int