org.springframework.data.mongodb.core.convert
Class DefaultMongoTypeMapper.DBObjectTypeAliasAccessor
java.lang.Object
org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper.DBObjectTypeAliasAccessor
- All Implemented Interfaces:
- TypeAliasAccessor<com.mongodb.DBObject>
- Enclosing class:
- DefaultMongoTypeMapper
public static final class DefaultMongoTypeMapper.DBObjectTypeAliasAccessor
- extends Object
- implements TypeAliasAccessor<com.mongodb.DBObject>
- Author:
- Oliver Gierke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMongoTypeMapper.DBObjectTypeAliasAccessor
public DefaultMongoTypeMapper.DBObjectTypeAliasAccessor(String typeKey)
readAliasFrom
public Object readAliasFrom(com.mongodb.DBObject source)
- Specified by:
readAliasFrom
in interface TypeAliasAccessor<com.mongodb.DBObject>
writeTypeTo
public void writeTypeTo(com.mongodb.DBObject sink,
Object alias)
- Specified by:
writeTypeTo
in interface TypeAliasAccessor<com.mongodb.DBObject>
Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.