com.dt.iTunesController
Class ITObjectPersistentID

java.lang.Object
  extended by com.dt.iTunesController.ITObjectPersistentID

public class ITObjectPersistentID
extends java.lang.Object

Simple utility wrapper class to represent the persistent object identity ID numbers. Use the getHigh() and getLow() methods individually to get each ID, or the combined hex string through toString().


Constructor Summary
ITObjectPersistentID(long high, long low)
          Create the ITObjectPersistentID.
 
Method Summary
 long getHigh()
          Returns the high persistent ID.
 long getLow()
          Returns the low persistent ID.
 java.lang.String toString()
          Return a string representation (in hex) of the persistent IDs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ITObjectPersistentID

public ITObjectPersistentID(long high,
                            long low)
Create the ITObjectPersistentID. This class is not intended to be created manually, and this function should only be used by classes implementing this utility.

Parameters:
high - The High Persistent ID
low - The Low Persistent ID
Method Detail

getHigh

public long getHigh()
Returns the high persistent ID.

Returns:
The high persistent ID.

getLow

public long getLow()
Returns the low persistent ID.

Returns:
The low persistent ID.

toString

public java.lang.String toString()
Return a string representation (in hex) of the persistent IDs.

Overrides:
toString in class java.lang.Object
Returns:
String representation of the persistent IDs.