public static abstract class

Dom4jAccessor.Dom4jGetter

extends Object
implements Getter
java.lang.Object
   ↳ org.hibernate.property.Dom4jAccessor.Dom4jGetter
Known Direct Subclasses

Class Overview

Defines the strategy for getting property values out of a dom4j Node.

Summary

Fields
protected final SessionFactoryImplementor factory
protected final Type propertyType
Public Methods
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
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.hibernate.property.Getter

Fields

protected final SessionFactoryImplementor factory

protected final Type propertyType

Public Methods

public 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 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.