public class

DBPointer

extends DBRefBase
java.lang.Object
   ↳ com.mongodb.DBRefBase
     ↳ com.mongodb.DBPointer

This class is deprecated.
No replacement.

Summary

Public Constructors
DBPointer(String ns, ObjectId id)
CTOR used for testing BSON encoding.
Public Methods
ObjectId getId()
Gets the object's id
String toString()
[Expand]
Inherited Methods
From class com.mongodb.DBRefBase
From class java.lang.Object

Public Constructors

public DBPointer (String ns, ObjectId id)

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

Public Methods

public ObjectId getId ()

Gets the object's id

public String toString ()