Interface PropertyAccess
-
- All Known Implementing Classes:
ChainedPropertyAccessImpl
,PropertyAccessBasicImpl
,PropertyAccessCompositeUserTypeImpl
,PropertyAccessEmbeddedImpl
,PropertyAccessEnhancedImpl
,PropertyAccessFieldImpl
,PropertyAccessMapImpl
,PropertyAccessMixedImpl
public interface PropertyAccess
Defines how a given persistent attribute is accessed by exposing aGetter
and aSetter
for the attribute.Instances are obtained from a
PropertyAccessStrategy
.- See Also:
ManagedTypeRepresentationStrategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Getter
getGetter()
Obtain the delegate for getting values of the persistent attribute.PropertyAccessStrategy
getPropertyAccessStrategy()
Access to thePropertyAccessStrategy
that created this instance.@Nullable Setter
getSetter()
Obtain the delegate for setting values of the persistent attribute.
-
-
-
Method Detail
-
getPropertyAccessStrategy
PropertyAccessStrategy getPropertyAccessStrategy()
Access to thePropertyAccessStrategy
that created this instance.- Returns:
- The
PropertyAccessStrategy
-
getGetter
Getter getGetter()
Obtain the delegate for getting values of the persistent attribute.- Returns:
- The property getter
-
getSetter
@Nullable Setter getSetter()
Obtain the delegate for setting values of the persistent attribute.- Returns:
- The property setter
-
-