Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

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

public class RowId
extends Object
implements 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
 Serializable id
           
 String tableName
           
 
Constructor Summary
RowId(RowId rowId)
           
RowId(String tableName, Serializable id)
           
 
Method Summary
 boolean equals(Object other)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

tableName

public final String tableName

id

public Serializable id
Constructor Detail

RowId

public RowId(RowId rowId)

RowId

public RowId(String tableName,
             Serializable id)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.