@java.lang.SuppressWarnings({"rawtypes", "unchecked"}) public class BeanEntityAccess extends java.lang.Object implements EntityAccess
Class used to access properties of an entity. Also responsible for any conversion from source to target types.
Modifiers | Name | Description |
---|---|---|
private static java.util.Set |
EXCLUDED_PROPERTIES |
|
protected org.springframework.beans.BeanWrapper |
beanWrapper |
|
protected java.lang.Object |
entity |
|
protected PersistentEntity |
persistentEntity |
Constructor and description |
---|
BeanEntityAccess
(PersistentEntity persistentEntity, java.lang.Object entity) |
Type Params | Return Type | Name and description |
---|---|---|
|
public java.lang.Object |
getEntity() |
|
public java.lang.Object |
getIdentifier() |
|
protected java.lang.String |
getIdentifierName(ClassMapping cm) |
|
public java.lang.String |
getIdentifierName() |
|
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 void |
refresh() Refreshes the object from entity state. |
|
public void |
setConversionService(org.springframework.core.convert.ConversionService conversionService) |
|
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), java.lang.Object#wait(long, int), 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() |
Refreshes the object from entity state.