|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mongodb.DBRefBase
public class DBRefBase
Base class for DBRefs.
Constructor Summary | |
---|---|
DBRefBase(DB db,
String ns,
Object id)
|
Method Summary | |
---|---|
DBObject |
fetch()
|
DB |
getDB()
Get this ref's database. |
Object |
getId()
Get this ref's $id. |
String |
getRef()
Get this ref's $ref (the collection name). |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DBRefBase(DB db, String ns, Object id)
Method Detail |
---|
public DBObject fetch()
public String toString()
toString
in class Object
public Object getId()
public String getRef()
public DB getDB()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |