org.hibernate.property

Class Dom4jAccessor.Dom4jGetter

Enclosing Class:
Dom4jAccessor
Implemented Interfaces:
Getter, Serializable
Known Direct Subclasses:
Dom4jAccessor.AttributeGetter, Dom4jAccessor.ElementAttributeGetter, Dom4jAccessor.ElementGetter, Dom4jAccessor.TextGetter

public static abstract class Dom4jAccessor.Dom4jGetter
extends java.lang.Object
implements Getter

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

Field Summary

protected SessionFactoryImplementor
factory
protected Type
propertyType

Method Summary

Object
getForInsert(Object owner, Map mergeMap, SessionImplementor session)
Method
getMethod()
Optional operation (return null)
String
getMethodName()
Optional operation (return null)
Class
getReturnType()
Get the declared Java type

Field Details

factory

protected final SessionFactoryImplementor factory

propertyType

protected final Type propertyType

Method Details

getForInsert

public Object getForInsert(Object owner,
                           Map mergeMap,
                           SessionImplementor session)
            throws HibernateException
Specified by:
getForInsert in interface Getter

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