public static final class DirectPropertyAccessor.DirectGetter extends Object implements Getter
Modifier and Type | Method and Description |
---|---|
Object |
get(Object target)
Get the property value from the given instance .
|
Object |
getForInsert(Object target,
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
|
String |
toString() |
public Object get(Object target) throws HibernateException
Getter
get
in interface Getter
target
- The instance containing the value to be retreived.HibernateException
public Object getForInsert(Object target, Map mergeMap, SessionImplementor session)
Getter
getForInsert
in interface Getter
target
- 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 Member getMember()
Getter
public Method getMethod()
Getter
public String getMethodName()
Getter
getMethodName
in interface Getter
public Class getReturnType()
Getter
getReturnType
in interface Getter
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.