AssociatedPersonCategory

Inheritance: java.lang.Object

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

public class AssociatedPersonCategory implements System.IEquatable<AssociatedPersonCategory>

Represents category for a persons

Constructors

ConstructorDescription
AssociatedPersonCategory(String description)Initializes a new instance of the AssociatedPersonCategory class with ‘Custom’ category.

Fields

FieldDescription
ASSISTANT_VALUEString value for ‘Assistant’ category
BROTHER_VALUEString value for ‘Brother’ category
CHILD_VALUEString value for ‘Child’ category
CUSTOM_VALUEString value for ‘Custom’ category
DOMESTIC_PARTNER_VALUEString value for ‘DomesticPartner’ category
FATHER_VALUEString value for ‘Father’ category
FRIEND_VALUEString value for ‘Friend’ category
MANAGER_VALUEString value for ‘Manager’ category
MOTHER_VALUEString value for ‘Mother’ category
PARENT_VALUEString value for ‘Parent’ category
PARTNER_VALUEString value for ‘Partner’ category
REFERRED_BY_VALUEString value for ‘ReferredBy’ category
RELATIVE_VALUEString value for ‘Relative’ category
SISTER_VALUEString value for ‘Sister’ category
SPOUSE_VALUEString value for ‘Spouse’ category

Methods

MethodDescription
equals(AssociatedPersonCategory 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.
getAssistant()Assistant
getBrother()Brother
getChild()Child
getClass()
getCustom()Custom category with empty description
getDescription()Gets description for the ‘Custom’ category of a person
getDomesticPartner()Domestic partner
getFather()Father
getFriend()Friend
getManager()Manager
getMother()Mother
getParent()Parent
getPartner()Partner
getReferredBy()Referred by
getRelative()Relative
getSister()Sister
getSpouse()Spouse
getValue()Gets category of a person
hashCode()GetHashCode returns a hash function for this object.
notify()
notifyAll()
op_Equality(AssociatedPersonCategory a, AssociatedPersonCategory b)Determines whether the specified objects are equal.
op_Inequality(AssociatedPersonCategory a, AssociatedPersonCategory 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)

AssociatedPersonCategory(String description)

public AssociatedPersonCategory(String description)

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

Parameters:

ParameterTypeDescription
descriptionjava.lang.StringDescription for the ‘Custom’ category of a person

ASSISTANT_VALUE

public static final String ASSISTANT_VALUE

String value for ‘Assistant’ category

BROTHER_VALUE

public static final String BROTHER_VALUE

String value for ‘Brother’ category

CHILD_VALUE

public static final String CHILD_VALUE

String value for ‘Child’ category

CUSTOM_VALUE

public static final String CUSTOM_VALUE

String value for ‘Custom’ category

DOMESTIC_PARTNER_VALUE

public static final String DOMESTIC_PARTNER_VALUE

String value for ‘DomesticPartner’ category

FATHER_VALUE

public static final String FATHER_VALUE

String value for ‘Father’ category

FRIEND_VALUE

public static final String FRIEND_VALUE

String value for ‘Friend’ category

MANAGER_VALUE

public static final String MANAGER_VALUE

String value for ‘Manager’ category

MOTHER_VALUE

public static final String MOTHER_VALUE

String value for ‘Mother’ category

PARENT_VALUE

public static final String PARENT_VALUE

String value for ‘Parent’ category

PARTNER_VALUE

public static final String PARTNER_VALUE

String value for ‘Partner’ category

REFERRED_BY_VALUE

public static final String REFERRED_BY_VALUE

String value for ‘ReferredBy’ category

RELATIVE_VALUE

public static final String RELATIVE_VALUE

String value for ‘Relative’ category

SISTER_VALUE

public static final String SISTER_VALUE

String value for ‘Sister’ category

SPOUSE_VALUE

public static final String SPOUSE_VALUE

String value for ‘Spouse’ category

equals(AssociatedPersonCategory other)

public boolean equals(AssociatedPersonCategory other)

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

Parameters:

ParameterTypeDescription
otherAssociatedPersonCategoryThe object to compare with the current object.

Returns: boolean - true if the specified object is equal to the current object; otherwise, false.

equals(Object obj)

public boolean equals(Object obj)

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

Parameters:

ParameterTypeDescription
objjava.lang.ObjectThe Object to compare with the current Object.

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

getAssistant()

public static AssociatedPersonCategory getAssistant()

Assistant

Returns: AssociatedPersonCategory

getBrother()

public static AssociatedPersonCategory getBrother()

Brother

Returns: AssociatedPersonCategory

getChild()

public static AssociatedPersonCategory getChild()

Child

Returns: AssociatedPersonCategory

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCustom()

public static AssociatedPersonCategory getCustom()

Custom category with empty description

Returns: AssociatedPersonCategory

getDescription()

public final String getDescription()

Gets description for the ‘Custom’ category of a person

Returns: java.lang.String

getDomesticPartner()

public static AssociatedPersonCategory getDomesticPartner()

Domestic partner

Returns: AssociatedPersonCategory

getFather()

public static AssociatedPersonCategory getFather()

Father

Returns: AssociatedPersonCategory

getFriend()

public static AssociatedPersonCategory getFriend()

Friend

Returns: AssociatedPersonCategory

getManager()

public static AssociatedPersonCategory getManager()

Manager

Returns: AssociatedPersonCategory

getMother()

public static AssociatedPersonCategory getMother()

Mother

Returns: AssociatedPersonCategory

getParent()

public static AssociatedPersonCategory getParent()

Parent

Returns: AssociatedPersonCategory

getPartner()

public static AssociatedPersonCategory getPartner()

Partner

Returns: AssociatedPersonCategory

getReferredBy()

public static AssociatedPersonCategory getReferredBy()

Referred by

Returns: AssociatedPersonCategory

getRelative()

public static AssociatedPersonCategory getRelative()

Relative

Returns: AssociatedPersonCategory

getSister()

public static AssociatedPersonCategory getSister()

Sister

Returns: AssociatedPersonCategory

getSpouse()

public static AssociatedPersonCategory getSpouse()

Spouse

Returns: AssociatedPersonCategory

getValue()

public final String getValue()

Gets category of a person

Returns: java.lang.String

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

public static boolean op_Equality(AssociatedPersonCategory a, AssociatedPersonCategory b)

Determines whether the specified objects are equal.

Parameters:

ParameterTypeDescription
aAssociatedPersonCategoryFirst object to compare
bAssociatedPersonCategorySecond object to compare

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

op_Inequality(AssociatedPersonCategory a, AssociatedPersonCategory b)

public static boolean op_Inequality(AssociatedPersonCategory a, AssociatedPersonCategory b)

Determines whether the specified objects are not equal.

Parameters:

ParameterTypeDescription
aAssociatedPersonCategoryFirst object to compare
bAssociatedPersonCategorySecond 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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int