org.neodatis.odb
Interface OID

All Superinterfaces:
java.lang.Comparable, java.io.Serializable
All Known Subinterfaces:
ExternalOID
All Known Implementing Classes:
ExternalClassOID, ExternalObjectOID, OdbClassOID, OdbObjectOID

public interface OID
extends java.lang.Comparable, java.io.Serializable

The interface to represent OID. OID is a unique identifier for NeoDatis ODB entities like objects and classes. The id is generated by NeoDatis

Author:
osmadja

Method Summary
 long getClassId()
           
 long getObjectId()
           
 int getType()
           
 java.lang.String oidToString()
          To retrieve a string representation of an OID
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getClassId

long getClassId()

getObjectId

long getObjectId()

getType

int getType()

oidToString

java.lang.String oidToString()
To retrieve a string representation of an OID

Returns: