public interface PojoRuntimeIntrospector
| Modifier and Type | Method and Description |
|---|---|
<T> PojoRawTypeIdentifier<? extends T> |
getEntityTypeIdentifier(T entity)
Detect the type of a given entity instance.
|
static PojoRuntimeIntrospector |
simple() |
Object |
unproxy(Object value) |
<T> PojoRawTypeIdentifier<? extends T> getEntityTypeIdentifier(T entity)
T - The type of the entity.entity - An instance or proxy of T.null if the entity type is not known from this mapper,
because it's neither indexed nor contained in an indexed type.Object unproxy(Object value)
value - the object to unproxystatic PojoRuntimeIntrospector simple()
PojoRuntimeIntrospector that relies on the object's class to return entity types,
and assumes objects are not proxyfied.Copyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.