Package org.nuxeo.ecm.core.storage.sql
Class RowId
- java.lang.Object
-
- org.nuxeo.ecm.core.storage.sql.RowId
-
- All Implemented Interfaces:
Serializable
,Comparable<RowId>
- Direct Known Subclasses:
Row
public class RowId extends Object implements Serializable, Comparable<RowId>
The identification of aRow
(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
Fields Modifier and Type Field Description Serializable
id
String
tableName
-
Constructor Summary
Constructors Constructor Description RowId(String tableName, Serializable id)
RowId(RowId rowId)
-
-
-
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
-
compareTo
public int compareTo(RowId other)
- Specified by:
compareTo
in interfaceComparable<RowId>
-
-