public class AssociatedPersonCategory extends Object implements com.aspose.ms.System.IEquatable<AssociatedPersonCategory>
Represents category for a persons
Modifier and Type | Field and Description |
---|---|
static String |
ASSISTANT_VALUE
String value for 'Assistant' category
|
static String |
BROTHER_VALUE
String value for 'Brother' category
|
static String |
CHILD_VALUE
String value for 'Child' category
|
static String |
CUSTOM_VALUE
String value for 'Custom' category
|
static String |
DOMESTIC_PARTNER_VALUE
String value for 'DomesticPartner' category
|
static String |
FATHER_VALUE
String value for 'Father' category
|
static String |
FRIEND_VALUE
String value for 'Friend' category
|
static String |
MANAGER_VALUE
String value for 'Manager' category
|
static String |
MOTHER_VALUE
String value for 'Mother' category
|
static String |
PARENT_VALUE
String value for 'Parent' category
|
static String |
PARTNER_VALUE
String value for 'Partner' category
|
static String |
REFERRED_BY_VALUE
String value for 'ReferredBy' category
|
static String |
RELATIVE_VALUE
String value for 'Relative' category
|
static String |
SISTER_VALUE
String value for 'Sister' category
|
static String |
SPOUSE_VALUE
String value for 'Spouse' category
|
Constructor and Description |
---|
AssociatedPersonCategory(String description)
Initializes a new instance of the
AssociatedPersonCategory class with 'Custom' category. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(AssociatedPersonCategory 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 AssociatedPersonCategory |
getAssistant()
Assistant
|
static AssociatedPersonCategory |
getBrother()
Brother
|
static AssociatedPersonCategory |
getChild()
Child
|
static AssociatedPersonCategory |
getCustom()
Custom category with empty description
|
String |
getDescription()
Gets description for the 'Custom' category of a person
|
static AssociatedPersonCategory |
getDomesticPartner()
Domestic partner
|
static AssociatedPersonCategory |
getFather()
Father
|
static AssociatedPersonCategory |
getFriend()
Friend
|
static AssociatedPersonCategory |
getManager()
Manager
|
static AssociatedPersonCategory |
getMother()
Mother
|
static AssociatedPersonCategory |
getParent()
Parent
|
static AssociatedPersonCategory |
getPartner()
Partner
|
static AssociatedPersonCategory |
getReferredBy()
Referred by
|
static AssociatedPersonCategory |
getRelative()
Relative
|
static AssociatedPersonCategory |
getSister()
Sister
|
static AssociatedPersonCategory |
getSpouse()
Spouse
|
String |
getValue()
Gets category of a person
|
int |
hashCode()
GetHashCode returns a hash function for this object.
|
static boolean |
op_Equality(AssociatedPersonCategory a,
AssociatedPersonCategory b)
Determines whether the specified objects are equal.
|
static boolean |
op_Inequality(AssociatedPersonCategory a,
AssociatedPersonCategory b)
Determines whether the specified objects are not equal.
|
String |
toString()
Returns a string that represents the current object.
|
public static final String SPOUSE_VALUE
String value for 'Spouse' category
public static final String CHILD_VALUE
String value for 'Child' category
public static final String MOTHER_VALUE
String value for 'Mother' category
public static final String FATHER_VALUE
String value for 'Father' category
public static final String PARENT_VALUE
String value for 'Parent' category
public static final String BROTHER_VALUE
String value for 'Brother' category
public static final String SISTER_VALUE
String value for 'Sister' category
public static final String FRIEND_VALUE
String value for 'Friend' category
public static final String RELATIVE_VALUE
String value for 'Relative' category
public static final String MANAGER_VALUE
String value for 'Manager' category
public static final String ASSISTANT_VALUE
String value for 'Assistant' category
public static final String REFERRED_BY_VALUE
String value for 'ReferredBy' category
public static final String PARTNER_VALUE
String value for 'Partner' category
public static final String DOMESTIC_PARTNER_VALUE
String value for 'DomesticPartner' category
public static final String CUSTOM_VALUE
String value for 'Custom' category
public AssociatedPersonCategory(String description)
Initializes a new instance of the AssociatedPersonCategory
class with 'Custom' category.
description
- Description for the 'Custom' category of a personpublic static AssociatedPersonCategory getSpouse()
Spouse
public static AssociatedPersonCategory getChild()
Child
public static AssociatedPersonCategory getMother()
Mother
public static AssociatedPersonCategory getFather()
Father
public static AssociatedPersonCategory getParent()
Parent
public static AssociatedPersonCategory getBrother()
Brother
public static AssociatedPersonCategory getSister()
Sister
public static AssociatedPersonCategory getFriend()
Friend
public static AssociatedPersonCategory getRelative()
Relative
public static AssociatedPersonCategory getManager()
Manager
public static AssociatedPersonCategory getAssistant()
Assistant
public static AssociatedPersonCategory getReferredBy()
Referred by
public static AssociatedPersonCategory getPartner()
Partner
public static AssociatedPersonCategory getDomesticPartner()
Domestic partner
public static AssociatedPersonCategory getCustom()
Custom category with empty description
public final String getValue()
Gets category of a person
public final String getDescription()
Gets description for the 'Custom' category of a person
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<AssociatedPersonCategory>
equals
in class Object
obj
- The Object to compare with the current Object.public static boolean op_Equality(AssociatedPersonCategory a, AssociatedPersonCategory b)
Determines whether the specified objects are equal.
a
- First object to compareb
- Second object to comparepublic static boolean op_Inequality(AssociatedPersonCategory a, AssociatedPersonCategory b)
Determines whether the specified objects are not equal.
a
- First object to compareb
- Second object to comparepublic boolean equals(AssociatedPersonCategory other)
Determines whether the specified object is equal to the current object.
other
- The object to compare with the current object.