@SuppressWarnings({"rawtypes", "unchecked"}) public class BeanEntityAccess extends Object implements EntityAccess
Class used to access properties of an entity. Also responsible for any conversion from source to target types.
| Modifiers | Name | Description |
|---|---|---|
protected BeanWrapper |
beanWrapper |
|
protected Object |
entity |
|
protected PersistentEntity |
persistentEntity |
| Constructor and description |
|---|
BeanEntityAccess(PersistentEntity persistentEntity, Object entity) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public Object |
getEntity() |
|
public Object |
getIdentifier() |
|
protected String |
getIdentifierName(ClassMapping cm) |
|
public String |
getIdentifierName() |
|
public PersistentEntity |
getPersistentEntity() |
|
public Object |
getProperty(String name) |
|
public Class |
getPropertyType(String name) |
|
public Object |
getPropertyValue(String name) |
|
public void |
refresh()Refreshes the object from entity state. |
|
public void |
setConversionService(ConversionService conversionService) |
|
public void |
setIdentifier(Object id) |
|
public void |
setIdentifierNoConversion(Object id) |
|
public void |
setProperty(String name, Object value) |
|
public void |
setPropertyNoConversion(String name, Object value) |
Refreshes the object from entity state.