public class GetterMethodImpl extends java.lang.Object implements Getter
| Constructor and Description |
|---|
GetterMethodImpl(java.lang.Class containerClass,
java.lang.String propertyName,
java.lang.reflect.Method getterMethod) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(java.lang.Object owner)
Get the property value from the given owner instance.
|
java.lang.Object |
getForInsert(java.lang.Object owner,
java.util.Map mergeMap,
SharedSessionContractImplementor session)
Get the property value from the given owner instance.
|
java.lang.reflect.Member |
getMember()
Retrieve the member to which this property maps.
|
java.lang.reflect.Method |
getMethod()
Retrieve the getter-method.
|
java.lang.String |
getMethodName()
Retrieve the getter-method name.
|
java.lang.Class |
getReturnType()
Retrieve the declared Java type
|
public GetterMethodImpl(java.lang.Class containerClass,
java.lang.String propertyName,
java.lang.reflect.Method getterMethod)
public java.lang.Object get(java.lang.Object owner)
Getterpublic java.lang.Object getForInsert(java.lang.Object owner,
java.util.Map mergeMap,
SharedSessionContractImplementor session)
GettergetForInsert in interface Getterowner - 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.public java.lang.Class getReturnType()
GettergetReturnType in interface Getterpublic java.lang.reflect.Member getMember()
Getternull)public java.lang.String getMethodName()
Getternull)getMethodName in interface Getternull.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.