public class EmailAddressCategory extends Object implements com.aspose.ms.System.IEquatable<EmailAddressCategory>
Represents category for an email address
Modifier and Type | Field and Description |
---|---|
static String |
CUSTOM_VALUE
String value for 'Custom' category
|
static String |
EMAIL_1_VALUE
String value for 'Email1' category
|
static String |
EMAIL_2_VALUE
String value for 'Email2' category
|
static String |
EMAIL_3_VALUE
String value for 'Email3' category
|
static String |
HOME_VALUE
String value for 'Home' category
|
static String |
WORK_VALUE
String value for 'Work' category
|
Constructor and Description |
---|
EmailAddressCategory(String description)
Initializes a new instance of the
EmailAddressCategory class with 'Custom' category. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(EmailAddressCategory other)
Determines whether the specified Object is equal to the current Object.
|
boolean |
equals(Object obj)
Determines whether the specified Object is equal to the current Object.
|
static EmailAddressCategory |
getCustom()
Custom category
|
String |
getDescription()
Gets description for the 'Custom' category of a email address
|
static EmailAddressCategory |
getEmail1()
Email1 category.
|
static EmailAddressCategory |
getEmail2()
Email2 category.
|
static EmailAddressCategory |
getEmail3()
Email3 category.
|
static EmailAddressCategory |
getHome()
Home category
|
String |
getValue()
Gets category of a email address
|
static EmailAddressCategory |
getWork()
Work category
|
int |
hashCode()
GetHashCode returns a hash function for this object.
|
static boolean |
op_Equality(EmailAddressCategory a,
EmailAddressCategory b)
Determines whether the specified objects are equal.
|
static boolean |
op_Inequality(EmailAddressCategory a,
EmailAddressCategory b)
Determines whether the specified objects are not equal.
|
String |
toString()
Returns a string that represents the current object.
|
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 CUSTOM_VALUE
String value for 'Custom' category
public static final String EMAIL_1_VALUE
String value for 'Email1' category
public static final String EMAIL_2_VALUE
String value for 'Email2' category
public static final String EMAIL_3_VALUE
String value for 'Email3' category
public EmailAddressCategory(String description)
Initializes a new instance of the EmailAddressCategory
class with 'Custom' category.
description
- Description for email address categorypublic static EmailAddressCategory getHome()
Home category
public static EmailAddressCategory getWork()
Work category
public static EmailAddressCategory getCustom()
Custom category
public static EmailAddressCategory getEmail1()
Email1 category. Used by MS Exchange server.
public static EmailAddressCategory getEmail2()
Email2 category. Used by MS Exchange server.
public static EmailAddressCategory getEmail3()
Email3 category. Used by MS Exchange server.
public final String getValue()
Gets category of a email address
public final String getDescription()
Gets description for the 'Custom' category of a email address
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<EmailAddressCategory>
equals
in class Object
obj
- The Object to compare with the current Object.public boolean equals(EmailAddressCategory other)
Determines whether the specified Object is equal to the current Object.
other
- The Object to compare with the current Object.public static boolean op_Equality(EmailAddressCategory a, EmailAddressCategory b)
Determines whether the specified objects are equal.
a
- First object to compareb
- Second object to comparepublic static boolean op_Inequality(EmailAddressCategory a, EmailAddressCategory b)
Determines whether the specified objects are not equal.
a
- First object to compareb
- Second object to compare