public class FieldEntityAccess extends java.lang.Object implements EntityAccess
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 |
---|---|---|
|
public static void |
clearReflectors() |
|
public java.lang.Object |
getEntity() |
|
public java.lang.Object |
getIdentifier() |
|
public java.lang.String |
getIdentifierName() |
|
public static EntityReflector |
getOrIntializeReflector(PersistentEntity persistentEntity) |
|
public PersistentEntity |
getPersistentEntity() |
|
public java.lang.Object |
getProperty(java.lang.String name) |
|
public java.lang.Class |
getPropertyType(java.lang.String name) |
|
public java.lang.Object |
getPropertyValue(java.lang.String name) |
|
public static EntityReflector |
getReflector(java.lang.String name) |
|
public void |
refresh() |
|
public void |
setIdentifier(java.lang.Object id) |
|
public void |
setIdentifierNoConversion(java.lang.Object id) |
|
public void |
setProperty(java.lang.String name, java.lang.Object value) |
|
public 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(), java.lang.Object#wait(long), 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() |