public class CustomerEvent extends Object implements Comparable<CustomerEvent>, com.aspose.ms.System.IEquatable<CustomerEvent>
Represents an event.
Constructor and Description |
---|
CustomerEvent() |
Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
equals(CustomerEvent obj)
Determines whether the specified Object is equal to the current Object.
|
boolean |
equals(CustomerEvent x,
CustomerEvent y)
Determines whether the specified object instances are considered equal.
|
boolean |
equals(Object obj)
Determines whether the specified Object is equal to the current Object.
|
EventCategory |
getCategory()
Gets or sets an object category
|
Date |
getDate()
Gets or sets a date and time for an event.
|
int |
hashCode()
GetHashCode returns a hash function for this object.
|
int |
hashCode(CustomerEvent obj)
GetHashCode returns a hash function for specified object.
|
static boolean |
op_Equality(CustomerEvent a,
CustomerEvent b)
Determines whether the specified objects are equal.
|
static boolean |
op_Inequality(CustomerEvent a,
CustomerEvent b)
Determines whether the specified objects are not equal.
|
void |
setCategory(EventCategory value)
Gets or sets an object category
|
void |
setDate(Date value)
Gets or sets a date and time for an event.
|
String |
toString()
Returns a string that represents the current object.
|
public final EventCategory getCategory()
Gets or sets an object category
public final void setCategory(EventCategory value)
Gets or sets an object category
public final Date getDate()
Gets or sets a date and time for an event.
public final void setDate(Date value)
Gets or sets a date and time for an event.
public String toString()
Returns a string that represents the current object.
public int hashCode()
GetHashCode returns a hash function for this object.
public final int hashCode(CustomerEvent obj)
GetHashCode returns a hash function for specified object.
obj
- The Object for which a hash code is to be returned.public boolean equals(Object obj)
Determines whether the specified Object is equal to the current Object.
equals
in interface com.aspose.ms.System.IEquatable<CustomerEvent>
equals
in class Object
obj
- The Object to compare with the current Object.public final boolean equals(CustomerEvent obj)
Determines whether the specified Object is equal to the current Object.
obj
- The Object to compare with the current Object.public final boolean equals(CustomerEvent x, CustomerEvent y)
Determines whether the specified object instances are considered equal.
x
- The first object to compare.y
- The second object to compare.public static boolean op_Equality(CustomerEvent a, CustomerEvent b)
Determines whether the specified objects are equal.
a
- First object to compareb
- Second object to comparepublic static boolean op_Inequality(CustomerEvent a, CustomerEvent b)
Determines whether the specified objects are not equal.
a
- First object to compareb
- Second object to comparepublic 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.
compareTo
in interface Comparable<CustomerEvent>
obj
- An object to compare with this instance, or null.