org.springframework.datastore.engine
Class EntityAccess
java.lang.Object
org.springframework.datastore.engine.EntityAccess
public class EntityAccess
- extends Object
Class used to access properties of an entity. Also responsible for
any conversion from source to target types.
- Since:
- 1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entity
protected Object entity
EntityAccess
public EntityAccess(PersistentEntity persistentEntity,
Object entity)
getEntity
public Object getEntity()
setConversionService
public void setConversionService(org.springframework.core.convert.ConversionService conversionService)
getProperty
public Object getProperty(String name)
setProperty
public void setProperty(String name,
Object value)
getIdentifier
public Object getIdentifier()
setIdentifier
public void setIdentifier(Object id)
getIdentifierName
protected String getIdentifierName(ClassMapping cm)
getIdentifierName
public String getIdentifierName()