com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class AssociatedPersonCategory

    • Field Detail

      • SPOUSE_VALUE

        public static final String SPOUSE_VALUE

        String value for 'Spouse' category

      • CHILD_VALUE

        public static final String CHILD_VALUE

        String value for 'Child' category

      • MOTHER_VALUE

        public static final String MOTHER_VALUE

        String value for 'Mother' category

      • FATHER_VALUE

        public static final String FATHER_VALUE

        String value for 'Father' category

      • PARENT_VALUE

        public static final String PARENT_VALUE

        String value for 'Parent' category

      • BROTHER_VALUE

        public static final String BROTHER_VALUE

        String value for 'Brother' category

      • SISTER_VALUE

        public static final String SISTER_VALUE

        String value for 'Sister' category

      • FRIEND_VALUE

        public static final String FRIEND_VALUE

        String value for 'Friend' category

      • RELATIVE_VALUE

        public static final String RELATIVE_VALUE

        String value for 'Relative' category

      • MANAGER_VALUE

        public static final String MANAGER_VALUE

        String value for 'Manager' category

      • ASSISTANT_VALUE

        public static final String ASSISTANT_VALUE

        String value for 'Assistant' category

      • REFERRED_BY_VALUE

        public static final String REFERRED_BY_VALUE

        String value for 'ReferredBy' category

      • PARTNER_VALUE

        public static final String PARTNER_VALUE

        String value for 'Partner' category

      • DOMESTIC_PARTNER_VALUE

        public static final String DOMESTIC_PARTNER_VALUE

        String value for 'DomesticPartner' category

      • CUSTOM_VALUE

        public static final String CUSTOM_VALUE

        String value for 'Custom' category

    • Constructor Detail

      • AssociatedPersonCategory

        public AssociatedPersonCategory(String description)

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

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

      • getValue

        public final String getValue()

        Gets category of a person

      • getDescription

        public final String getDescription()

        Gets description for the 'Custom' category of a person

      • 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<AssociatedPersonCategory>
        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(AssociatedPersonCategory a,
                          AssociatedPersonCategory 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(AssociatedPersonCategory a,
                            AssociatedPersonCategory 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(AssociatedPersonCategory 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.