public class AssociatedPersonCategory extends Object
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(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
AssociatedPersonCategory
object.public static AssociatedPersonCategory getChild()
Child
AssociatedPersonCategory
object.public static AssociatedPersonCategory getMother()
Mother
AssociatedPersonCategory
object.public static AssociatedPersonCategory getFather()
Father
AssociatedPersonCategory
object.public static AssociatedPersonCategory getParent()
Parent
AssociatedPersonCategory
object.public static AssociatedPersonCategory getBrother()
Brother
AssociatedPersonCategory
object.public static AssociatedPersonCategory getSister()
Sister
AssociatedPersonCategory
object.public static AssociatedPersonCategory getFriend()
Friend
AssociatedPersonCategory
object.public static AssociatedPersonCategory getRelative()
Relative
AssociatedPersonCategory
object.public static AssociatedPersonCategory getManager()
Manager
AssociatedPersonCategory
object.public static AssociatedPersonCategory getAssistant()
Assistant
AssociatedPersonCategory
object.public static AssociatedPersonCategory getReferredBy()
Referred by
AssociatedPersonCategory
object.public static AssociatedPersonCategory getPartner()
Partner
AssociatedPersonCategory
object.public static AssociatedPersonCategory getDomesticPartner()
Domestic partner
AssociatedPersonCategory
object.public static AssociatedPersonCategory getCustom()
Custom category with empty description
AssociatedPersonCategory
object.public String getDescription()
Gets description for the 'Custom' category of a person
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(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 compareCopyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.