CustomerEvent

Inheritance: java.lang.Object

All Implemented Interfaces: java.lang.Comparable, com.aspose.ms.System.IEquatable

public class CustomerEvent implements Comparable<CustomerEvent>, System.IEquatable<CustomerEvent>

Represents an event.

Constructors

ConstructorDescription
CustomerEvent()

Methods

MethodDescription
compareTo(CustomerEvent obj)Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
equals(CustomerEvent obj)Determines whether the specified Object is equal to the current Object.
equals(CustomerEvent x, CustomerEvent y)Determines whether the specified object instances are considered equal.
equals(Object obj)Determines whether the specified Object is equal to the current Object.
getCategory()Gets or sets an object category
getClass()
getDate()Gets or sets a date and time for an event.
hashCode()GetHashCode returns a hash function for this object.
hashCode(CustomerEvent obj)GetHashCode returns a hash function for specified object.
notify()
notifyAll()
op_Equality(CustomerEvent a, CustomerEvent b)Determines whether the specified objects are equal.
op_Inequality(CustomerEvent a, CustomerEvent b)Determines whether the specified objects are not equal.
setCategory(EventCategory value)Gets or sets an object category
setDate(Date value)Gets or sets a date and time for an event.
toString()Returns a string that represents the current object.
wait()
wait(long arg0)
wait(long arg0, int arg1)

CustomerEvent()

public CustomerEvent()

compareTo(CustomerEvent obj)

public int compareTo(CustomerEvent obj)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

Parameters:

ParameterTypeDescription
objCustomerEventAn object to compare with this instance, or null.

Returns: int - This method returns: a value less than 0 if this is less than value 0 if this is equal to value a value greater than 0 if this is greater than value

equals(CustomerEvent obj)

public final boolean equals(CustomerEvent obj)

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

Parameters:

ParameterTypeDescription
objCustomerEventThe Object to compare with the current Object.

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

equals(CustomerEvent x, CustomerEvent y)

public final boolean equals(CustomerEvent x, CustomerEvent y)

Determines whether the specified object instances are considered equal.

Parameters:

ParameterTypeDescription
xCustomerEventThe first object to compare.
yCustomerEventThe second object to compare.

Returns: boolean - true if the objects are considered equal; otherwise, false. If both objA and objB are null, the method returns true.

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.

getCategory()

public final EventCategory getCategory()

Gets or sets an object category

Returns: EventCategory

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDate()

public final Date getDate()

Gets or sets a date and time for an event.

Returns: java.util.Date

hashCode()

public int hashCode()

GetHashCode returns a hash function for this object.

Returns: int - Returns a hash function for this object.

hashCode(CustomerEvent obj)

public final int hashCode(CustomerEvent obj)

GetHashCode returns a hash function for specified object.

Parameters:

ParameterTypeDescription
objCustomerEventThe Object for which a hash code is to be returned.

Returns: int - Returns a hash function for specified object.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

op_Equality(CustomerEvent a, CustomerEvent b)

public static boolean op_Equality(CustomerEvent a, CustomerEvent b)

Determines whether the specified objects are equal.

Parameters:

ParameterTypeDescription
aCustomerEventFirst object to compare
bCustomerEventSecond object to compare

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

op_Inequality(CustomerEvent a, CustomerEvent b)

public static boolean op_Inequality(CustomerEvent a, CustomerEvent b)

Determines whether the specified objects are not equal.

Parameters:

ParameterTypeDescription
aCustomerEventFirst object to compare
bCustomerEventSecond object to compare

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

setCategory(EventCategory value)

public final void setCategory(EventCategory value)

Gets or sets an object category

Parameters:

ParameterTypeDescription
valueEventCategory

setDate(Date value)

public final void setDate(Date value)

Gets or sets a date and time for an event.

Parameters:

ParameterTypeDescription
valuejava.util.Date

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