org.nuxeo.ecm.core.storage.sql
Class RowId
java.lang.Object
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 Row
s.
- 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)
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
tableName
public final java.lang.String tableName
id
public java.io.Serializable id
RowId
public RowId(RowId rowId)
RowId
public RowId(java.lang.String tableName,
java.io.Serializable id)
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
Copyright © 2010 Nuxeo SAS. All Rights Reserved.