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