Class used to access properties of an entity. Also responsible for any conversion from source to target types.
Modifiers | Name | Description |
---|---|---|
protected org.springframework.beans.BeanWrapper |
beanWrapper |
|
protected java.lang.Object |
entity |
|
protected PersistentEntity |
persistentEntity |
Constructor and description |
---|
EntityAccess
(PersistentEntity persistentEntity, java.lang.Object entity) |
Type | Name and description |
---|---|
java.lang.Object |
getEntity() |
java.lang.Object |
getIdentifier() |
protected java.lang.String |
getIdentifierName(ClassMapping cm) |
java.lang.String |
getIdentifierName() |
PersistentEntity |
getPersistentEntity() |
java.lang.Object |
getProperty(java.lang.String name) |
java.lang.Class |
getPropertyType(java.lang.String name) |
void |
refresh() Refreshes the object from entity state. |
void |
setConversionService(org.springframework.core.convert.ConversionService conversionService) |
void |
setIdentifier(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() |
Refreshes the object from entity state.