Class EnhancedGetterMethodImpl
- java.lang.Object
-
- org.hibernate.property.access.spi.EnhancedGetterMethodImpl
-
- All Implemented Interfaces:
java.io.Serializable,Getter
@Deprecated public class EnhancedGetterMethodImpl extends java.lang.Object implements Getter
Deprecated.No longer used;GetterFieldImplorGetterMethodImplshould be used instead.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EnhancedGetterMethodImpl(java.lang.Class containerClass, java.lang.String propertyName, java.lang.reflect.Field field, java.lang.reflect.Method getterMethod)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Objectget(java.lang.Object owner)Deprecated.Get the property value from the given owner instance.java.lang.ObjectgetForInsert(java.lang.Object owner, java.util.Map mergeMap, SharedSessionContractImplementor session)Deprecated.Get the property value from the given owner instance.java.lang.reflect.MembergetMember()Deprecated.Retrieve the member to which this property maps.java.lang.reflect.MethodgetMethod()Deprecated.Retrieve the getter-method.java.lang.StringgetMethodName()Deprecated.Retrieve the getter-method name.java.lang.ClassgetReturnType()Deprecated.Retrieve the declared Java type
-
-
-
Method Detail
-
get
public java.lang.Object get(java.lang.Object owner)
Deprecated.Description copied from interface:GetterGet the property value from the given owner instance.
-
getForInsert
public java.lang.Object getForInsert(java.lang.Object owner, java.util.Map mergeMap, SharedSessionContractImplementor session)Deprecated.Description copied from interface:GetterGet the property value from the given owner instance.- Specified by:
getForInsertin interfaceGetter- Parameters:
owner- The instance containing the value to be retrieved.mergeMap- a map of merged persistent instances to detached instancessession- The session from which this request originated.- Returns:
- The extracted value.
-
getReturnType
public java.lang.Class getReturnType()
Deprecated.Description copied from interface:GetterRetrieve the declared Java type- Specified by:
getReturnTypein interfaceGetter- Returns:
- The declared java type.
-
getMember
public java.lang.reflect.Member getMember()
Deprecated.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 returnnull)
-
getMethodName
public java.lang.String getMethodName()
Deprecated.Description copied from interface:GetterRetrieve the getter-method name. Optional operation (may returnnull)- Specified by:
getMethodNamein interfaceGetter- Returns:
- The name of the getter method, or
null.
-
-