Package org.hibernate.property.access.spi
Defines strategies for accessing the persistent properties of an entity or composite.
The overall strategy of the various ways to access a property is defined by the
PropertyAccessStrategy
contract.
The access for a specific property is modeled by a
PropertyAccess
instance build from the strategy, exposing
Getter
and Setter
delegates for accessing the properties values.
BuiltInPropertyAccessStrategies
defines the built-in
named strategies understood in terms of mappings. In mappings, users may refer to those short names
for referring to certain built-in strategies. Users may also implement their own
strategy and refer to that by fully-qualified name, or they may leverage the
StrategySelector
service to define short-naming
for their custom strategies.-
Interface Summary Interface Description Getter The contract for getting value for a persistent property from its container/ownerPropertyAccess Describes access to a particular persistent property in terms of getting and setting values.PropertyAccessStrategy Describes a strategy for persistent property access (field, JavaBean-style property, etc).PropertyAccessStrategyResolver Contract for resolving the PropertyAccessStrategy to use.Setter The contract for setting a persistent property value into its container/owner -
Class Summary Class Description EnhancedGetterMethodImpl Deprecated. No longer used;GetterFieldImpl
orGetterMethodImpl
should be used instead.EnhancedSetterImpl A specialized Setter implementation for handling setting values into a into a bytecode-enhanced Class.GetterFieldImpl Field-based implementation of GetterGetterMethodImpl SetterFieldImpl Field-based implementation of SetterSetterMethodImpl -
Enum Summary Enum Description BuiltInPropertyAccessStrategies Describes the built-in externally-nameable PropertyAccessStrategy implementations. -
Exception Summary Exception Description PropertyAccessBuildingException Indicates a problem while building a PropertyAccessPropertyAccessException Indicates a problem reading or writing value from/to a persistent property.PropertyAccessSerializationException