public interface

Getter

implements Serializable
org.hibernate.property.Getter
Known Indirect Subclasses

Class Overview

Gets values of a particular property

Summary

Public Methods
abstract Object get(Object owner)
Get the property value from the given instance .
abstract Object getForInsert(Object owner, Map mergeMap, SessionImplementor session)
Get the property value from the given owner instance.
abstract Member getMember()
Retrieve the member to which this property maps.
abstract Method getMethod()
Retrieve the getter-method.
abstract String getMethodName()
Retrieve the getter-method name.
abstract Class getReturnType()
Retrieve the declared Java type

Public Methods

public abstract Object get (Object owner)

Get the property value from the given instance .

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

public abstract Object getForInsert (Object owner, Map mergeMap, SessionImplementor session)

Get the property value from the given owner instance.

Parameters
owner 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 abstract 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 abstract Method getMethod ()

Retrieve the getter-method.

Optional operation (return null)

Returns
  • The getter method, or null.

public abstract String getMethodName ()

Retrieve the getter-method name.

Optional operation (return null)

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

public abstract Class getReturnType ()

Retrieve the declared Java type

Returns
  • The declared java type.