org.hibernate.property

Class MapAccessor.MapGetter

Enclosing Class:
MapAccessor
Implemented Interfaces:
Getter, Serializable

public static final class MapAccessor.MapGetter
extends java.lang.Object
implements Getter

Method Summary

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.
Method
getMethod()
Optional operation (return null)
String
getMethodName()
Optional operation (return null)
Class
getReturnType()
Get the declared Java type

Method Details

get

public Object get(Object target)
            throws HibernateException
Get the property value from the given instance .
Specified by:
get in interface Getter
Parameters:
Returns:
The extracted value.

getForInsert

public Object getForInsert(Object target,
                           Map mergeMap,
                           SessionImplementor session)
Get the property value from the given owner instance.
Specified by:
getForInsert in interface Getter
Parameters:
mergeMap - a map of merged persistent instances to detached instances
session - The session from which this request originated.
Returns:
The extracted value.

getMethod

public Method getMethod()
Optional operation (return null)
Specified by:
getMethod in interface Getter

getMethodName

public String getMethodName()
Optional operation (return null)
Specified by:
getMethodName in interface Getter

getReturnType

public Class getReturnType()
Get the declared Java type
Specified by:
getReturnType in interface Getter