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

All Superinterfaces:
org.springframework.data.convert.TypeMapper<com.mongodb.DBObject>
All Known Implementing Classes:
DefaultMongoTypeMapper

public interface MongoTypeMapper
extends org.springframework.data.convert.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:


Copyright © 2011. All Rights Reserved.