public interface EntityAccess
| Type Params | Return Type | Name and description |
|---|---|---|
|
public Object |
getEntity()
|
|
public Object |
getIdentifier()
|
|
public String |
getIdentifierName()
|
|
public PersistentEntity |
getPersistentEntity()
|
|
public Object |
getProperty(String name)Obtains a property value |
|
public Class |
getPropertyType(String name)Obtains a property type |
|
public Object |
getPropertyValue(String name)Obtains a property value |
|
public void |
refresh()Refreshes the object from underlying entity state. |
|
public void |
setIdentifier(Object id)Sets the entity identifier to the given value |
|
public void |
setIdentifierNoConversion(Object id)Sets the entity identifier to the given value |
|
public void |
setProperty(String name, Object value)Sets a property value |
|
public void |
setPropertyNoConversion(String name, Object value)Sets a property without applying any automatic type conversion |
Obtains a property value
name - the name of the valueObtains a property type
name - The name of the propertyObtains a property value
name - the name of the valueRefreshes the object from underlying entity state.
Sets the entity identifier to the given value
id - The value to setSets the entity identifier to the given value
id - The value to setSets a property value
name - The name of the propertyvalue - The value of the property