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.


Constructor Summary
StatusHistoryValue(boolean nType, int value)
           
 
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()
          This method can be used to populate a hash table.
 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
 

Constructor Detail

StatusHistoryValue

public StatusHistoryValue(boolean nType,
                          int value)
Method Detail

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 if and 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()
This method can be used to populate a hash table. Implicitly used method to test equality of objects.
Overrides:
hashCode in class java.lang.Object