public static final class

MapAccessor.MapGetter

extends Object
implements Getter
java.lang.Object
   ↳ org.hibernate.property.MapAccessor.MapGetter

Summary

Public Methods
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
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.hibernate.property.Getter

Public Methods

public Object get (Object target)

Get the property value from the given instance .

Parameters
target The instance containing the value to be retreived.
Returns
  • The extracted value.

public Object getForInsert (Object target, Map mergeMap, SessionImplementor session)

Get the property value from the given owner instance.

Parameters
target The instance containing the value to be retreived.
mergeMap a map of merged persistent instances to detached instances
session The session from which this request originated.
Returns
  • The extracted value.

public Member getMember ()

Retrieve the member to which this property maps. This might be the field or it might be the getter method.

Returns
  • The mapped member.

public Method getMethod ()

Retrieve the getter-method.

Optional operation (return null)

Returns
  • The getter method, or null.

public String getMethodName ()

Retrieve the getter-method name.

Optional operation (return null)

Returns
  • The name of the getter method, or null.

public Class getReturnType ()

Retrieve the declared Java type

Returns
  • The declared java type.