Spring Data Couchbase

org.springframework.data.couchbase.core.convert
Class DefaultCouchbaseTypeMapper

java.lang.Object
  extended by org.springframework.data.convert.DefaultTypeMapper<CouchbaseDocument>
      extended by org.springframework.data.couchbase.core.convert.DefaultCouchbaseTypeMapper
All Implemented Interfaces:
TypeMapper<CouchbaseDocument>, CouchbaseTypeMapper

public class DefaultCouchbaseTypeMapper
extends DefaultTypeMapper<CouchbaseDocument>
implements CouchbaseTypeMapper

The Couchbase Type Mapper.

Author:
Michael Nitschinger

Nested Class Summary
static class DefaultCouchbaseTypeMapper.CouchbaseDocumentTypeAliasAccessor
           
 
Field Summary
static String DEFAULT_TYPE_KEY
          The type key to use if a complex type was identified.
 
Constructor Summary
DefaultCouchbaseTypeMapper(String typeKey)
          Create a new type mapper with the type key.
 
Method Summary
 
Methods inherited from class org.springframework.data.convert.DefaultTypeMapper
getAliasFor, getFallbackTypeFor, readType, readType, writeType, writeType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.data.convert.TypeMapper
readType, readType, writeType, writeType
 

Field Detail

DEFAULT_TYPE_KEY

public static final String DEFAULT_TYPE_KEY
The type key to use if a complex type was identified.

See Also:
Constant Field Values
Constructor Detail

DefaultCouchbaseTypeMapper

public DefaultCouchbaseTypeMapper(String typeKey)
Create a new type mapper with the type key.

Parameters:
typeKey - the typeKey to use.

Spring Data Couchbase

Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.