public class AfterLoadEvent<T> extends MongoMappingEvent<org.bson.Document>
Documents to be mapped onto a given type.source| Constructor and Description |
|---|
AfterLoadEvent(org.bson.Document document,
Class<T> type,
String collectionName)
Creates a new
AfterLoadEvent for the given Document, type and collectionName. |
| Modifier and Type | Method and Description |
|---|---|
Class<T> |
getType()
Returns the type for which the
AfterLoadEvent shall be invoked for. |
getCollectionName, getDocument, getSourcegetTimestamptoStringpublic AfterLoadEvent(org.bson.Document document,
Class<T> type,
String collectionName)
AfterLoadEvent for the given Document, type and collectionName.document - must not be null.type - must not be null.collectionName - must not be null.public Class<T> getType()
AfterLoadEvent shall be invoked for.Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.