org.springframework.data.mongodb.core.convert
Class DefaultMongoTypeMapper.DBObjectTypeAliasAccessor
java.lang.Object
org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper.DBObjectTypeAliasAccessor
- All Implemented Interfaces:
- org.springframework.data.convert.TypeAliasAccessor<DBObject>
- Enclosing class:
- DefaultMongoTypeMapper
public static final class DefaultMongoTypeMapper.DBObjectTypeAliasAccessor
- extends Object
- implements org.springframework.data.convert.TypeAliasAccessor<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(DBObject source)
- Specified by:
readAliasFrom
in interface org.springframework.data.convert.TypeAliasAccessor<DBObject>
writeTypeTo
public void writeTypeTo(DBObject sink,
Object alias)
- Specified by:
writeTypeTo
in interface org.springframework.data.convert.TypeAliasAccessor<DBObject>
Copyright © 2011. All Rights Reserved.