DBRef instead.@Deprecated public class DBPointer extends DBRefBase
| Modifier and Type | Field and Description |
|---|---|
(package private) java.lang.String |
_fieldName
Deprecated.
|
(package private) DBObject |
_parent
Deprecated.
|
private static long |
serialVersionUID
Deprecated.
|
| Constructor and Description |
|---|
DBPointer(DBObject parent,
java.lang.String fieldName,
DB db,
java.lang.String ns,
ObjectId id)
Deprecated.
|
DBPointer(java.lang.String ns,
ObjectId id)
Deprecated.
CTOR used for testing BSON encoding.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectId |
getId()
Deprecated.
Gets the _id of the referenced document
|
java.lang.String |
toString()
Deprecated.
|
private static final long serialVersionUID
final DBObject _parent
final java.lang.String _fieldName
public DBPointer(java.lang.String ns,
ObjectId id)
ns - namespace to point toid - value of _id