EventCategory

Inheritance: java.lang.Object

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

public class EventCategory implements System.IEquatable<EventCategory>

Represents category for an event

Constructors

ConstructorDescription
EventCategory(String description)Initializes a new instance of the ‘Custom’ EventCategory.

Fields

FieldDescription
ANNIVERSARY_VALUEString value for ‘Anniversary’ category
BIRTHDAY_VALUEString value for ‘Birthday’ category
CUSTOM_VALUEString value for ‘Custom’ category

Methods

MethodDescription
equals(EventCategory 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.
getAnniversary()Anniversary
getBirthday()Birthday
getClass()
getCustom()Custom description
getDescription()Gets description for the ‘Custom’ category of an event
getValue()Gets string representation of an event category
hashCode()GetHashCode returns a hash function for this object.
notify()
notifyAll()
op_Equality(EventCategory a, EventCategory b)Determines whether the specified objects are equal.
op_Inequality(EventCategory a, EventCategory 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)

EventCategory(String description)

public EventCategory(String description)

Initializes a new instance of the ‘Custom’ EventCategory.

Parameters:

ParameterTypeDescription
descriptionjava.lang.StringDescription for the ‘Custom’ category of an event

ANNIVERSARY_VALUE

public static final String ANNIVERSARY_VALUE

String value for ‘Anniversary’ category

BIRTHDAY_VALUE

public static final String BIRTHDAY_VALUE

String value for ‘Birthday’ category

CUSTOM_VALUE

public static final String CUSTOM_VALUE

String value for ‘Custom’ category

equals(EventCategory other)

public boolean equals(EventCategory other)

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

Parameters:

ParameterTypeDescription
otherEventCategoryThe 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.

getAnniversary()

public static EventCategory getAnniversary()

Anniversary

Returns: EventCategory

getBirthday()

public static EventCategory getBirthday()

Birthday

Returns: EventCategory

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCustom()

public static EventCategory getCustom()

Custom description

Returns: EventCategory

getDescription()

public final String getDescription()

Gets description for the ‘Custom’ category of an event

Returns: java.lang.String

getValue()

public final String getValue()

Gets string representation of an event category

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

public static boolean op_Equality(EventCategory a, EventCategory b)

Determines whether the specified objects are equal.

Parameters:

ParameterTypeDescription
aEventCategoryFirst object to compare
bEventCategorySecond object to compare

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

op_Inequality(EventCategory a, EventCategory b)

public static boolean op_Inequality(EventCategory a, EventCategory b)

Determines whether the specified objects are not equal.

Parameters:

ParameterTypeDescription
aEventCategoryFirst object to compare
bEventCategorySecond 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