List of usage examples for org.springframework.data.mapping.model SimpleTypeHolder SimpleTypeHolder
protected SimpleTypeHolder()
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()); }