public class FieldEntityAccess extends java.lang.Object
Uses field reflection or CGlib to improve performance
Constructor and description |
---|
FieldEntityAccess
(PersistentEntity persistentEntity, java.lang.Object entity, org.springframework.core.convert.ConversionService conversionService) |
Type Params | Return Type | Name and description |
---|---|---|
|
static void |
clearReflectors() |
|
java.lang.Object |
getEntity() |
|
java.lang.Object |
getIdentifier() |
|
java.lang.String |
getIdentifierName() |
|
static EntityReflector |
getOrIntializeReflector(PersistentEntity persistentEntity) |
|
PersistentEntity |
getPersistentEntity() |
|
java.lang.Object |
getProperty(java.lang.String name) |
|
java.lang.Class |
getPropertyType(java.lang.String name) |
|
java.lang.Object |
getPropertyValue(java.lang.String name) |
|
static EntityReflector |
getReflector(java.lang.String name) |
|
void |
refresh() |
|
void |
setIdentifier(java.lang.Object id) |
|
void |
setIdentifierNoConversion(java.lang.Object id) |
|
void |
setProperty(java.lang.String name, java.lang.Object value) |
|
void |
setPropertyNoConversion(java.lang.String name, java.lang.Object value) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |