public final class ExtendedPropertyAccessor extends Object implements org.hibernate.property.access.spi.PropertyAccessStrategy
getExtended("name")
instead of getName()
.
During startup Hibernate creates a pair of Getter
and Setter
objects for each extended property of an
Extendable
item. These objects are then used to access the
extended properties for all items via the GetterSetter.get
and GetterSetter.set
methods.
ExtendableData
,
ExtendedProperty
,
ExtendedProperties
Modifier and Type | Class and Description |
---|---|
(package private) static class |
ExtendedPropertyAccessor.GetterSetter
This class implements the Hibernate
Getter and
Setter interfaces. |
Constructor and Description |
---|
ExtendedPropertyAccessor()
Create a new ExtendedPropertyAccessor object.
|
Modifier and Type | Method and Description |
---|---|
org.hibernate.property.access.spi.PropertyAccess |
buildPropertyAccess(Class clazz,
String property) |
public ExtendedPropertyAccessor()
public org.hibernate.property.access.spi.PropertyAccess buildPropertyAccess(Class clazz, String property)
buildPropertyAccess
in interface org.hibernate.property.access.spi.PropertyAccessStrategy