Class PropertyAccessEmbeddedImpl
java.lang.Object
org.hibernate.property.access.internal.PropertyAccessEmbeddedImpl
- All Implemented Interfaces:
PropertyAccess
PropertyAccess
for handling non-aggregated composites.- Implementation Note:
- We actually use a singleton for the
Setter
; we cannot for the getter mainly because we need to differentiateGetter.getReturnTypeClass()
. Ultimately I'd prefer to model that "common information" onPropertyAccess
itself.
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyAccessEmbeddedImpl
(PropertyAccessStrategyEmbeddedImpl strategy, Class<?> containerType, String propertyName) -
Method Summary
Modifier and TypeMethodDescriptionObtain the delegate for getting values of the persistent attribute.Access to thePropertyAccessStrategy
that created this instance.Obtain the delegate for setting values of the persistent attribute.
-
Constructor Details
-
PropertyAccessEmbeddedImpl
public PropertyAccessEmbeddedImpl(PropertyAccessStrategyEmbeddedImpl strategy, Class<?> containerType, String propertyName)
-
-
Method Details
-
getPropertyAccessStrategy
Description copied from interface:PropertyAccess
Access to thePropertyAccessStrategy
that created this instance.- Specified by:
getPropertyAccessStrategy
in interfacePropertyAccess
- Returns:
- The
PropertyAccessStrategy
-
getGetter
Description copied from interface:PropertyAccess
Obtain the delegate for getting values of the persistent attribute.- Specified by:
getGetter
in interfacePropertyAccess
- Returns:
- The property getter
-
getSetter
Description copied from interface:PropertyAccess
Obtain the delegate for setting values of the persistent attribute.- Specified by:
getSetter
in interfacePropertyAccess
- Returns:
- The property setter
-