com.mongodb
Class DBPointer

java.lang.Object
  extended by com.mongodb.DBRefBase
      extended by com.mongodb.DBPointer

Deprecated.

public class DBPointer
extends DBRefBase


Constructor Summary
DBPointer(java.lang.String ns, ObjectId id)
          Deprecated. CTOR used for testing BSON encoding.
 
Method Summary
 ObjectId getId()
          Deprecated. Get this ref's $id.
 java.lang.String toString()
          Deprecated.  
 
Methods inherited from class com.mongodb.DBRefBase
fetch, getDB, getRef
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DBPointer

public DBPointer(java.lang.String ns,
                 ObjectId id)
Deprecated. 
CTOR used for testing BSON encoding. Otherwise non-functional due to a DBRef needing a parent db object, a fieldName and a db

Parameters:
ns - namespace to point to
id - value of _id
Method Detail

toString

public java.lang.String toString()
Deprecated. 
Overrides:
toString in class DBRefBase

getId

public ObjectId getId()
Deprecated. 
Description copied from class: DBRefBase
Get this ref's $id.

Overrides:
getId in class DBRefBase