EmailAddressCategory

Inheritance: java.lang.Object

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

public class EmailAddressCategory implements System.IEquatable<EmailAddressCategory>

Represents category for an email address

Constructors

Constructor Description
EmailAddressCategory(String description) Initializes a new instance of the EmailAddressCategory class with ‘Custom’ category.

Fields

Field Description
CUSTOM_VALUE String value for ‘Custom’ category
EMAIL_1_VALUE String value for ‘Email1’ category
EMAIL_2_VALUE String value for ‘Email2’ category
EMAIL_3_VALUE String value for ‘Email3’ category
HOME_VALUE String value for ‘Home’ category
WORK_VALUE String value for ‘Work’ category

Methods

Method Description
equals(EmailAddressCategory 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.
getClass()
getCustom() Custom category
getDescription() Gets description for the ‘Custom’ category of a email address
getEmail1() Email1 category.
getEmail2() Email2 category.
getEmail3() Email3 category.
getHome() Home category
getValue() Gets category of a email address
getWork() Work category
hashCode() GetHashCode returns a hash function for this object.
notify()
notifyAll()
op_Equality(EmailAddressCategory a, EmailAddressCategory b) Determines whether the specified objects are equal.
op_Inequality(EmailAddressCategory a, EmailAddressCategory 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)

EmailAddressCategory(String description)

public EmailAddressCategory(String description)

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

Parameters:

Parameter Type Description
description java.lang.String Description for email address category

CUSTOM_VALUE

public static final String CUSTOM_VALUE

String value for ‘Custom’ category

EMAIL_1_VALUE

public static final String EMAIL_1_VALUE

String value for ‘Email1’ category

EMAIL_2_VALUE

public static final String EMAIL_2_VALUE

String value for ‘Email2’ category

EMAIL_3_VALUE

public static final String EMAIL_3_VALUE

String value for ‘Email3’ 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

equals(EmailAddressCategory other)

public boolean equals(EmailAddressCategory other)

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

Parameters:

Parameter Type Description
other EmailAddressCategory The Object to compare with the current Object.

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

equals(Object obj)

public boolean equals(Object obj)

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

Parameters:

Parameter Type Description
obj java.lang.Object The Object to compare with the current Object.

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

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCustom()

public static EmailAddressCategory getCustom()

Custom category

Returns: EmailAddressCategory

getDescription()

public final String getDescription()

Gets description for the ‘Custom’ category of a email address

Returns: java.lang.String

getEmail1()

public static EmailAddressCategory getEmail1()

Email1 category. Used by MS Exchange server.

Returns: EmailAddressCategory

getEmail2()

public static EmailAddressCategory getEmail2()

Email2 category. Used by MS Exchange server.

Returns: EmailAddressCategory

getEmail3()

public static EmailAddressCategory getEmail3()

Email3 category. Used by MS Exchange server.

Returns: EmailAddressCategory

getHome()

public static EmailAddressCategory getHome()

Home category

Returns: EmailAddressCategory

getValue()

public final String getValue()

Gets category of a email address

Returns: java.lang.String

getWork()

public static EmailAddressCategory getWork()

Work category

Returns: EmailAddressCategory

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(EmailAddressCategory a, EmailAddressCategory b)

public static boolean op_Equality(EmailAddressCategory a, EmailAddressCategory b)

Determines whether the specified objects are equal.

Parameters:

Parameter Type Description
a EmailAddressCategory First object to compare
b EmailAddressCategory Second object to compare

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

op_Inequality(EmailAddressCategory a, EmailAddressCategory b)

public static boolean op_Inequality(EmailAddressCategory a, EmailAddressCategory b)

Determines whether the specified objects are not equal.

Parameters:

Parameter Type Description
a EmailAddressCategory First object to compare
b EmailAddressCategory Second 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:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int