Class GetterMethodImpl
java.lang.Object
org.hibernate.property.access.spi.GetterMethodImpl
- All Implemented Interfaces:
Serializable,Getter
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGetterMethodImpl(Class<?> containerClass, String propertyName, Method getterMethod) -
Method Summary
Modifier and TypeMethodDescription@Nullable ObjectGet the property value from the given owner instance.@Nullable ObjectgetForInsert(Object owner, Map<Object, Object> mergeMap, SharedSessionContractImplementor session) Get the property value from the given owner instance.Retrieve the member to which this property maps.Retrieve the getter-method.Retrieve the getter-method name.Retrieve the declared Java typeClass<?> Retrieve the declared Java type class
-
Constructor Details
-
GetterMethodImpl
-
-
Method Details
-
get
Description copied from interface:GetterGet the property value from the given owner instance. -
getReturnTypeClass
Description copied from interface:GetterRetrieve the declared Java type class- Specified by:
getReturnTypeClassin interfaceGetter- Returns:
- The declared java type class.
-
getReturnType
Description copied from interface:GetterRetrieve the declared Java type- Specified by:
getReturnTypein interfaceGetter- Returns:
- The declared java type.
-
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) -
getMethodName
Description copied from interface:GetterRetrieve the getter-method name.Optional operation (may return
null)- Specified by:
getMethodNamein interfaceGetter- Returns:
- The name of the getter method, or
null.
-
getMethod
Description copied from interface:GetterRetrieve the getter-method.Optional operation (may return
null)
-