Spring Data MongoDB

org.springframework.data.mongodb.core.convert
Interface MongoTypeMapper

All Superinterfaces:
TypeMapper<com.mongodb.DBObject>
All Known Implementing Classes:
DefaultMongoTypeMapper

public interface MongoTypeMapper
extends TypeMapper<com.mongodb.DBObject>

Mongo-specific TypeMapper exposing that DBObjects might contain a type key.

Author:
Oliver Gierke

Method Summary
 boolean isTypeKey(String key)
          Returns whether the given key is the type key.
 
Methods inherited from interface org.springframework.data.convert.TypeMapper
readType, readType, writeType, writeType
 

Method Detail

isTypeKey

boolean isTypeKey(String key)
Returns whether the given key is the type key.

Returns:

Spring Data MongoDB

Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.