Class ExtendedPropertyAccessor

java.lang.Object
net.sf.basedb.core.ExtendedPropertyAccessor
All Implemented Interfaces:
PropertyAccessStrategy

public final class ExtendedPropertyAccessor extends Object implements PropertyAccessStrategy
This class is used to interface with Hibernate for extended properties. We need specialized getter and setter methods since there are no regulare get and set methods for the extended properties. Ie. we have to call 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.

Version:
2.0
Author:
Nicklas, Samuel
See Also: