| java.lang.Object | |
| ↳ | com.mongodb.DBRefBase |
Known Direct Subclasses
|
represents a database reference, which points to an object stored in the database
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a DBRefBase
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
fetches the object referenced from the database
| |||||||||||
Gets the database
| |||||||||||
Gets the object's id
| |||||||||||
Gets the object's namespace (collection name)
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates a DBRefBase
| db | the database |
|---|---|
| ns | the namespace where the object is stored |
| id | the object id |