com.remedy.arsys.api
Class InternalID

java.lang.Object
  |
  +--com.remedy.arsys.api.InternalID
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable
Direct Known Subclasses:
FieldID, QualifierFromFieldInfo

public class InternalID
extends java.lang.Object
implements java.lang.Cloneable, 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.
 boolean equals(java.lang.Object anObject)
          Use this method for checking equality of InternalID.
 long getValue()
          Retrieves value of object ID.
 int hashCode()
          This method can be used to populate a hash table.
 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.
Overrides:
toString in class java.lang.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()
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

clone

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

equals

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