public class NamedGetterIdPropertyResolver extends Object implements IdPropertyResolver
| Constructor and Description |
|---|
NamedGetterIdPropertyResolver() |
| Modifier and Type | Method and Description |
|---|---|
String |
resolve(Class<?> entityType,
Class<? extends Serializable> idType)
Resolves the name of the ID property.
|
public String resolve(Class<?> entityType, Class<? extends Serializable> idType)
IdPropertyResolverresolve in interface IdPropertyResolverentityType - the type of the entity on which the key is definedidType - the expected type (or supertype) for the ID propertyCopyright © 2014–2016. All rights reserved.