Interface OIdentifiable
- All Superinterfaces:
Comparable<OIdentifiable>,Comparator<OIdentifiable>
- All Known Implementing Classes:
OContextualRecordId,ODocument,ODocumentEmbedded,OEdgeDelegate,OEdgeDocument,OImmutableRecordId,OPlaceholder,ORecordAbstract,ORecordBytes,ORecordBytesLazy,ORecordFlat,ORecordId,OrientEdge,OrientElement,OrientVertex,OVertexDelegate,OVertexDocument,OViewDocument
Base interface for identifiable objects. This abstraction is required to use ORID and ORecord in
many points.
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com)
-
Method Summary
Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface java.util.Comparator
compare, equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Method Details
-
getIdentity
ORID getIdentity()Returns the record identity.- Returns:
- ORID instance
-
getRecord
Returns the record instance.- Returns:
- ORecord instance
-
lock
Deprecated.UseODatabase.lock(ORID)instead. -
isLocked
Deprecated. -
lockingStrategy
Deprecated. -
unlock
Deprecated.UseODatabase.unlock(ORID)instead.
-