com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class PhoneNumberCategory

  • All Implemented Interfaces:
    com.aspose.ms.System.IEquatable<PhoneNumberCategory>


    public class PhoneNumberCategory
    extends Object
    implements com.aspose.ms.System.IEquatable<PhoneNumberCategory>

    Represents category for a phone number

    • Field Detail

      • CUSTOM_VALUE

        public static final String CUSTOM_VALUE

        String value for 'Custom' category

      • HOME_VALUE

        public static final String HOME_VALUE

        String value for 'Home' category

      • WORK_VALUE

        public static final String WORK_VALUE

        String value for 'Work' category

      • OFFICE_VALUE

        public static final String OFFICE_VALUE

        String value for 'Office' category

      • MOBILE_VALUE

        public static final String MOBILE_VALUE

        String value for 'Mobile' 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

      • WORK_FAX_VALUE

        public static final String WORK_FAX_VALUE

        String value for 'Fax' category

      • PAGER_VALUE

        public static final String PAGER_VALUE

        String value for 'Pager' category

      • CAR_VALUE

        public static final String CAR_VALUE

        String value for 'Car' category

      • ISDN_VALUE

        public static final String ISDN_VALUE

        String value for 'Isdn' category

      • TELEX_VALUE

        public static final String TELEX_VALUE

        String value for 'Telex' category

      • CALLBACK_VALUE

        public static final String CALLBACK_VALUE

        String value for 'Callback' category

      • RADIO_VALUE

        public static final String RADIO_VALUE

        String value for 'Radio' category

      • COMPANY_VALUE

        public static final String COMPANY_VALUE

        String value for 'Company' category

      • TTY_TDD_VALUE

        public static final String TTY_TDD_VALUE

        String value for 'TtyTdd' category

      • ASSISTANT_VALUE

        public static final String ASSISTANT_VALUE

        String value for 'Assistant' category

      • PRIMARY_VALUE

        public static final String PRIMARY_VALUE

        String value for 'Primary' category

    • Constructor Detail

      • PhoneNumberCategory

        public PhoneNumberCategory(String description)

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

        Parameters:
        description - Description for the 'Custom' category of a phone number
    • Method Detail

      • getValue

        public final String getValue()

        Gets category of a phone number

      • getDescription

        public final String getDescription()

        Gets description for the 'Custom' category of a phone number

      • toString

        public String toString()

        Returns a string that represents the current object.

        Overrides:
        toString in class Object
        Returns:
        Returns a string that represents the current object.
      • hashCode

        public int hashCode()

        GetHashCode returns a hash function for this object.

        Overrides:
        hashCode in class Object
        Returns:
        Returns a hash function for this object.
      • equals

        public boolean equals(Object obj)

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

        Specified by:
        equals in interface com.aspose.ms.System.IEquatable<PhoneNumberCategory>
        Overrides:
        equals in class Object
        Parameters:
        obj - The Object to compare with the current Object.
        Returns:
        Returns a boolean indicating if the passed in object obj is Equal to this.
      • op_Equality

        public static boolean op_Equality(PhoneNumberCategory a,
                          PhoneNumberCategory b)

        Determines whether the specified objects are equal.

        Parameters:
        a - First object to compare
        b - Second object to compare
        Returns:
        Returns true if objects are equal, otherwise false.
      • op_Inequality

        public static boolean op_Inequality(PhoneNumberCategory a,
                            PhoneNumberCategory b)

        Determines whether the specified objects are not equal.

        Parameters:
        a - First object to compare
        b - Second object to compare
        Returns:
        Returns true if objects are not equal, otherwise false.
      • equals

        public boolean equals(PhoneNumberCategory other)

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

        Parameters:
        other - The object to compare with the current object.
        Returns:
        true if the specified object is equal to the current object; otherwise, false.