public class AfterLoadEvent<T> extends MongoMappingEvent<com.mongodb.DBObject>
DBObjects to be mapped onto a given type.source| Constructor and Description |
|---|
AfterLoadEvent(com.mongodb.DBObject dbo,
Class<T> type)
Deprecated.
since 1.8. Please use
AfterLoadEvent(DBObject, Class, String). |
AfterLoadEvent(com.mongodb.DBObject dbo,
Class<T> type,
String collectionName)
Creates a new
AfterLoadEvent for the given DBObject, type and collectionName. |
| Modifier and Type | Method and Description |
|---|---|
Class<T> |
getType()
Returns the type for which the
AfterLoadEvent shall be invoked for. |
getCollectionName, getDBObject, getSourcegetTimestamptoString@Deprecated public AfterLoadEvent(com.mongodb.DBObject dbo, Class<T> type)
AfterLoadEvent(DBObject, Class, String).AfterLoadEvent for the given DBObject and type.dbo - must not be null.type - can be null.public AfterLoadEvent(com.mongodb.DBObject dbo,
Class<T> type,
String collectionName)
AfterLoadEvent for the given DBObject, type and collectionName.dbo - must not be null.type - must not be null.collectionName - can be null.public Class<T> getType()
AfterLoadEvent shall be invoked for.Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.