Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.storage.sql
Class RowId

java.lang.Object
  extended by org.nuxeo.ecm.core.storage.sql.RowId
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Row

public class RowId
extends java.lang.Object
implements java.io.Serializable

The identification of a Row (table name and id) without the row content itself.

This class is sometimes used as a marker for an "absent" row in the database, when mixed with actual Rows.

See Also:
Serialized Form

Field Summary
 java.io.Serializable id
           
 java.lang.String tableName
           
 
Constructor Summary
RowId(RowId rowId)
           
RowId(java.lang.String tableName, java.io.Serializable id)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

tableName

public final java.lang.String tableName

id

public java.io.Serializable id
Constructor Detail

RowId

public RowId(RowId rowId)

RowId

public RowId(java.lang.String tableName,
             java.io.Serializable id)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.