Example usage for org.springframework.data.mapping.model SimpleTypeHolder SimpleTypeHolder

List of usage examples for org.springframework.data.mapping.model SimpleTypeHolder SimpleTypeHolder

Introduction

In this page you can find the example usage for org.springframework.data.mapping.model SimpleTypeHolder SimpleTypeHolder.

Prototype

protected SimpleTypeHolder() 

Source Link

Document

Creates a new SimpleTypeHolder containing the default types.

Usage

From source file:com.couchbase.spring.core.mapping.BasicCouchbasePersistentPropertyTest.java

/**
 * Helper method to create a property out of the field.
 *
 * @param field the field to retrieve the properties from.
 * @return the actual BasicCouchbasePersistentProperty instance.
 *///from w w  w . java 2 s  . co m
private CouchbasePersistentProperty getPropertyFor(Field field) {
    return new BasicCouchbasePersistentProperty(field, null, entity, new SimpleTypeHolder());
}