com.remedy.arsys.api
Class StatusHistoryValue
java.lang.Object
|
+--com.remedy.arsys.api.StatusHistoryValue
- All Implemented Interfaces:
- java.lang.Cloneable
- public class StatusHistoryValue
- extends java.lang.Object
- implements java.lang.Cloneable
The StatusHistoryValue class allows user to refer to
the status history associated with changes.
|
Method Summary |
java.lang.Object |
clone()
Clone implementation that returns an Object with data cloned from self |
boolean |
equals(java.lang.Object anObject)
Use this method for checking equality. |
int |
getEnumValue()
Returns an enumerated value identifying the particular status value to use in
the operation. |
int |
hashCode()
Returns the hash code value for this instance of the current class. |
boolean |
isTime()
Returns true if the nType is the keyword TIME |
boolean |
isUser()
Returns true if the nType is the keyword USER |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
StatusHistoryValue
public StatusHistoryValue(boolean nType,
int value)
isUser
public boolean isUser()
- Returns
true if the nType is the keyword USER
isTime
public boolean isTime()
- Returns
true if the nType is the keyword TIME
getEnumValue
public int getEnumValue()
- Returns an enumerated value identifying the particular status value to use in
the operation.
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Clone implementation that returns an Object with data cloned from self
- Overrides:
clone in class java.lang.Object
equals
public boolean equals(java.lang.Object anObject)
- Use this method for checking equality. The result is true only if
the argument is not null, is of same type and represents the same
content.
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Returns the hash code value for this instance of the current class.
This method is supported as required by the general contract of
Object.hashCode, for the benefit of hash tables such as those provided
by java.util.Hashtable.
- Overrides:
hashCode in class java.lang.Object