public class GetterFieldImpl extends Object implements Getter
| Constructor and Description |
|---|
GetterFieldImpl(Class containerClass,
String propertyName,
Field field) |
| 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,
SessionImplementor 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)
Getterpublic Object getForInsert(Object owner, Map mergeMap, SessionImplementor 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 Class getReturnType()
GettergetReturnType in interface Getterpublic Member getMember()
Getternull)public String getMethodName()
Getternull)getMethodName in interface Getternull.Copyright © 2017 JBoss by Red Hat. All rights reserved.