| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.Object |
getEntity()@return The entity being persisted |
|
java.lang.Object |
getIdentifier()@return Obtains the value of the entity identifier |
|
java.lang.String |
getIdentifierName()@return The name of the identifier property |
|
PersistentEntity |
getPersistentEntity()@return The PersistentEntity instance |
|
java.lang.Object |
getProperty(java.lang.String name)Obtains a property value |
|
java.lang.Class |
getPropertyType(java.lang.String name)Obtains a property type |
|
java.lang.Object |
getPropertyValue(java.lang.String name)Obtains a property value |
|
void |
refresh()Refreshes the object from underlying entity state. |
|
void |
setIdentifier(java.lang.Object id)Sets the entity identifier to the given value |
|
void |
setIdentifierNoConversion(java.lang.Object id)Sets the entity identifier to the given value |
|
void |
setProperty(java.lang.String name, java.lang.Object value)Sets a property value |
|
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