public interface ProxyIdAccessor
| Modifier and Type | Method and Description |
|---|---|
Object |
getIdentifierFrom(Object entity)
Returns the identifier of the given entity by leniently inspecting it for the identifier value.
|
boolean |
shouldUseAccessorFor(Object entity)
Returns whether the
ProxyIdAccessor should be used for the given entity. |
boolean shouldUseAccessorFor(Object entity)
ProxyIdAccessor should be used for the given entity. Will inspect the entity to see
whether it is a proxy so that lenient id lookup can be used.entity - must not be null.Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.