Package org.hibernate.property
Class Dom4jAccessor.Dom4jGetter
java.lang.Object
org.hibernate.property.Dom4jAccessor.Dom4jGetter
- All Implemented Interfaces:
Serializable,Getter
- Direct Known Subclasses:
Dom4jAccessor.AttributeGetter,Dom4jAccessor.ElementAttributeGetter,Dom4jAccessor.ElementGetter,Dom4jAccessor.TextGetter
- Enclosing class:
Dom4jAccessor
Defines the strategy for getting property values out of a dom4j Node.
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetForInsert(Object owner, Map mergeMap, SessionImplementor session) Get the property value from the given owner instance.Retrieve the member to which this property maps.Retrieve the getter-method.Retrieve the getter-method name.Retrieve the declared Java type
-
Field Details
-
propertyType
-
factory
-
-
Method Details
-
getForInsert
public Object getForInsert(Object owner, Map mergeMap, SessionImplementor session) throws HibernateException Description copied from interface:GetterGet the property value from the given owner instance.- Specified by:
getForInsertin interfaceGetter- Parameters:
owner- The instance containing the value to be retreived.mergeMap- a map of merged persistent instances to detached instancessession- The session from which this request originated.- Returns:
- The extracted value.
- Throws:
HibernateException
-
getReturnType
Retrieve the declared Java type- Specified by:
getReturnTypein interfaceGetter- Returns:
- The declared java type.
-
getMember
Retrieve the member to which this property maps. This might be the field or it might be the getter method. -
getMethodName
Retrieve the getter-method name. Optional operation (return null)- Specified by:
getMethodNamein interfaceGetter- Returns:
- The name of the getter method, or null.
-
getMethod
Retrieve the getter-method. Optional operation (return null)
-