Spring Data Document

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

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

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

Copyright © 2012. All Rights Reserved.