Class EnhancedGetterFieldImpl
- java.lang.Object
-
- org.hibernate.property.access.spi.GetterFieldImpl
-
- org.hibernate.property.access.spi.EnhancedGetterFieldImpl
-
- All Implemented Interfaces:
Serializable,Getter
@Internal public class EnhancedGetterFieldImpl extends GetterFieldImpl
A specialized Getter implementation for handling getting values from a bytecode-enhanced Class. The reason we need specialized handling is to produce the correctMemberwhile using theFieldto access values and ensure correct functionality.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EnhancedGetterFieldImpl(Class<?> containerClass, String propertyName, Field field, Method getterMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MembergetMember()Retrieve the member to which this property maps.@NonNull MethodgetMethod()Retrieve the getter-method.-
Methods inherited from class org.hibernate.property.access.spi.GetterFieldImpl
get, getField, getForInsert, getMethodName, getReturnType, getReturnTypeClass
-
-
-
-
Method Detail
-
getMethod
public @NonNull Method getMethod()
Description copied from interface:GetterRetrieve the getter-method.Optional operation (may return
null)- Specified by:
getMethodin interfaceGetter- Overrides:
getMethodin classGetterFieldImpl- Returns:
- The getter method, or
null.
-
getMember
public Member getMember()
Description copied from interface:GetterRetrieve the member to which this property maps. This might be the field or it might be the getter method.Optional operation (may return
null)- Specified by:
getMemberin interfaceGetter- Overrides:
getMemberin classGetterFieldImpl- Returns:
- The mapped member, or
null.
-
-