com.mongodb
Class DBPointer
java.lang.Object
com.mongodb.DBRefBase
com.mongodb.DBPointer
Deprecated.
@Deprecated
public class DBPointer
- extends DBRefBase
DBPointer
public DBPointer(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 toid
- value of _id
toString
public String toString()
- Deprecated.
- Overrides:
toString
in class DBRefBase
getId
public ObjectId getId()
- Deprecated.
- Description copied from class:
DBRefBase
- Gets the object's id
- Overrides:
getId
in class DBRefBase
- Returns: