public static interface EntityLookupRegistrar.IdMappingRegistrar<T,R extends org.springframework.data.repository.Repository<T,?>>
Modifier and Type | Method and Description |
---|---|
<ID extends Serializable> |
withIdMapping(org.springframework.core.convert.converter.Converter<T,ID> mapping)
Registers the given
Converter to map the entity to its identifying property. |
<ID extends Serializable> EntityLookupRegistrar.LookupRegistrar<T,ID,R> withIdMapping(org.springframework.core.convert.converter.Converter<T,ID> mapping)
Converter
to map the entity to its identifying property.mapping
- must not be null.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.