Class EnhancedGetterFieldImpl
java.lang.Object
org.hibernate.property.access.spi.GetterFieldImpl
org.hibernate.property.access.spi.EnhancedGetterFieldImpl
- All Implemented Interfaces:
Serializable
,Getter
A specialized Getter implementation for handling getting values from
a bytecode-enhanced Class. The reason we need specialized handling
is to produce the correct
Member
while
using the Field
to access values and ensure correct functionality.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEnhancedGetterFieldImpl
(Class<?> containerClass, String propertyName, Field field, Method getterMethod) -
Method Summary
Methods inherited from class org.hibernate.property.access.spi.GetterFieldImpl
get, getField, getForInsert, getMethodName, getReturnType, getReturnTypeClass
-
Constructor Details
-
EnhancedGetterFieldImpl
-
-
Method Details
-
getMethod
Description copied from interface:Getter
Retrieve the getter-method.Optional operation (may return
null
)- Specified by:
getMethod
in interfaceGetter
- Overrides:
getMethod
in classGetterFieldImpl
- Returns:
- The getter method, or
null
.
-
getMember
Description copied from interface:Getter
Retrieve 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:
getMember
in interfaceGetter
- Overrides:
getMember
in classGetterFieldImpl
- Returns:
- The mapped member, or
null
.
-