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