public class EmailAddressCategory extends Object
Represents category for an email address
Modifier and Type | Field and Description |
---|---|
static String |
CUSTOM_VALUE
String value for 'Custom' 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(Object obj)
Determines whether the specified Object is equal to the current Object.
|
static EmailAddressCategory |
getCustom()
Custom address
|
String |
getDescription()
Gets description for the 'Custom' category of a email address
|
static EmailAddressCategory |
getHome()
Home address
|
String |
getValue()
Gets category of a email address
|
static EmailAddressCategory |
getWork()
Work address
|
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 EmailAddressCategory(String description)
Initializes a new instance of the EmailAddressCategory
class with 'Custom' category.
description
- Description for the 'Custom' category of a email addresspublic static EmailAddressCategory getHome()
Home address
EmailAddressCategory
object.public static EmailAddressCategory getWork()
Work address
EmailAddressCategory
object.public static EmailAddressCategory getCustom()
Custom address
EmailAddressCategory
object.public String getDescription()
Gets description for the 'Custom' category of a email address
String
object.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.
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 compareCopyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.