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)
Creates a new
AfterLoadEvent for the given DBObject and type. |
| Modifier and Type | Method and Description |
|---|---|
Class<T> |
getType()
Returns the type for which the
AfterLoadEvent shall be invoked for. |
getDBObject, getSourcegetTimestamptoStringpublic AfterLoadEvent(com.mongodb.DBObject dbo,
Class<T> type)
AfterLoadEvent for the given DBObject and type.dbo - must not be null.type - must not be null.public Class<T> getType()
AfterLoadEvent shall be invoked for.Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.