public static interface EntityLookupRegistrar.IdMappingRegistrar<T,R extends Repository<T,?>>
Modifier and Type | Method and Description |
---|---|
<ID extends Serializable> |
withIdMapping(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(Converter<T,ID> mapping)
Converter
to map the entity to its identifying property.mapping
- must not be null.Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.