Package org.hibernate.bytecode.spi
Interface ReflectionOptimizer.AccessOptimizer
-
- Enclosing interface:
- ReflectionOptimizer
public static interface ReflectionOptimizer.AccessOptimizer
Represents optimized entity property access.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String[]
getPropertyNames()
Get the name of all properties.java.lang.Object[]
getPropertyValues(java.lang.Object object)
Get the value of all properties from the given entityvoid
setPropertyValues(java.lang.Object object, java.lang.Object[] values)
Set all property values into an entity instance.
-
-
-
Method Detail
-
getPropertyNames
java.lang.String[] getPropertyNames()
Get the name of all properties.- Returns:
- The name of all properties.
-
getPropertyValues
java.lang.Object[] getPropertyValues(java.lang.Object object)
Get the value of all properties from the given entity- Parameters:
object
- The entity from which to extract values.- Returns:
- The values.
-
setPropertyValues
void setPropertyValues(java.lang.Object object, java.lang.Object[] values)
Set all property values into an entity instance.- Parameters:
object
- The entity instancevalues
- The values to inject
-
-