public class DBRef extends Object implements Serializable
Constructor and Description |
---|
DBRef(String collectionName,
Object id)
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getCollectionName()
Gets the name of the collection in which the referenced document is stored.
|
Object |
getId()
Gets the _id of the referenced document
|
int |
hashCode() |
String |
toString() |
public Object getId()
public String getCollectionName()