Top Description Interfaces Classes Enums
[default module]

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 org.hibernate.property.access.spi.PropertyAccessStrategy contract.

The access for a specific property is modeled by a org.hibernate.property.access.spi.PropertyAccess instance build from the strategy, exposing org.hibernate.property.access.spi.Getter and org.hibernate.property.access.spi.Setter delegates for accessing the properties values.

org.hibernate.property.access.spi.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 org.hibernate.boot.registry.selector.spi.StrategySelector service to define short-naming for their custom strategies.

Interface Summary

Modifier and TypeInterface and Description
public interface
Getter

The contract for getting value for a persistent property from its container/owner

public interface
PropertyAccess

Describes access to a particular persistent property in terms of getting and setting values.

public interface
PropertyAccessStrategy

Describes a strategy for persistent property access (field, JavaBean-style property, etc).

public interface
PropertyAccessStrategyResolver

Contract for resolving the PropertyAccessStrategy to use.

public interface
Setter

The contract for setting a persistent property value into its container/owner

Class Summary

Modifier and TypeClass and Description
public class
EnhancedGetterMethodImpl

Deprecated No longer used; GetterFieldImpl or GetterMethodImpl should be used instead.
public class
EnhancedSetterImpl

A specialized Setter implementation for handling setting values into a bytecode-enhanced Class.

public class
GetterFieldImpl

Field-based implementation of Getter

public class
public class
PropertyAccessBuildingException

Indicates a problem while building a PropertyAccess

public class
PropertyAccessException

Indicates a problem reading or writing value from/to a persistent property.

public class
public class
SetterFieldImpl

Field-based implementation of Setter

public class

Enum Summary

Modifier and TypeEnum and Description
public enum
BuiltInPropertyAccessStrategies

Describes the built-in externally-nameable PropertyAccessStrategy implementations.