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)
Getter
public Object getForInsert(Object owner, Map mergeMap, SessionImplementor session)
Getter
getForInsert
in interface Getter
owner
- The instance containing the value to be retreived.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-2017 Red Hat, Inc. All Rights Reserved.