com.mockrunner.mock.jdbc
Class MockRowId

java.lang.Object
  extended by com.mockrunner.mock.jdbc.MockRowId
All Implemented Interfaces:
java.lang.Cloneable, java.sql.RowId

public class MockRowId
extends java.lang.Object
implements java.sql.RowId, java.lang.Cloneable

Mock implementation of RowId.


Constructor Summary
MockRowId(byte[] data)
           
 
Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object otherObject)
           
 byte[] getBytes()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MockRowId

public MockRowId(byte[] data)
Method Detail

getBytes

public byte[] getBytes()
Specified by:
getBytes in interface java.sql.RowId

equals

public boolean equals(java.lang.Object otherObject)
Specified by:
equals in interface java.sql.RowId
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface java.sql.RowId
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Specified by:
toString in interface java.sql.RowId
Overrides:
toString in class java.lang.Object

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object