7.0 Action Request System Java API

com.remedy.arsys.api
Class InternalID

java.lang.Object
  extended bycom.remedy.arsys.api.InternalID
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, java.io.Serializable
Direct Known Subclasses:
FieldID, QualifierFromFieldInfo

public class InternalID
extends java.lang.Object
implements java.lang.Cloneable, java.lang.Comparable, java.io.Serializable

The InternalID class represents an internal ID of an AR System object.

See Also:
Serialized Form

Constructor Summary
InternalID()
          constructor
InternalID(long id)
           
 
Method Summary
 java.lang.Object clone()
          Makes a deep copy of the object.
 int compareTo(java.lang.Object anObject)
          Compare two InternalID objects
 boolean equals(java.lang.Object anObject)
          Use this method for checking equality of InternalID.
 long getValue()
          Retrieves value of object ID.
 int hashCode()
          Returns the hash code value for this instance of the current class.
 void setValue(InternalID id)
          Defines value of object ID.
 void setValue(long id)
          Defines value of object ID.
 java.lang.String toString()
          Returns a string description of the object.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InternalID

public InternalID()
constructor


InternalID

public InternalID(long id)
Method Detail

toString

public java.lang.String toString()
Returns a string description of the object.


setValue

public void setValue(long id)
Defines value of object ID.


setValue

public void setValue(InternalID id)
Defines value of object ID.


getValue

public long getValue()
Retrieves value of object ID.


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.


clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Makes a deep copy of the object.

Throws:
java.lang.CloneNotSupportedException

equals

public boolean equals(java.lang.Object anObject)
Use this method for checking equality of InternalID.


compareTo

public int compareTo(java.lang.Object anObject)
              throws java.lang.ClassCastException
Compare two InternalID objects

Specified by:
compareTo in interface java.lang.Comparable
Throws:
java.lang.ClassCastException

7.0 Action Request System Java API