public static class ReferenceResolver.ReferenceCollection extends Object
ReferenceResolver.ReferenceCollection is a value object that contains information about the target database and collection
name of an association.| Constructor and Description |
|---|
ReferenceCollection(String database,
String collection) |
| Modifier and Type | Method and Description |
|---|---|
static ReferenceResolver.ReferenceCollection |
fromDBRef(com.mongodb.DBRef dbRef)
Create a new instance of
ReferenceResolver.ReferenceCollection from the given DBRef. |
String |
getCollection()
Get the target collection name.
|
String |
getDatabase()
Get the target database name.
|
public static ReferenceResolver.ReferenceCollection fromDBRef(com.mongodb.DBRef dbRef)
ReferenceResolver.ReferenceCollection from the given DBRef.dbRef - must not be null.ReferenceResolver.ReferenceCollection.public String getCollection()
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.