Package org.hibernate.property
Class IndexPropertyAccessor.IndexGetter
java.lang.Object
org.hibernate.property.IndexPropertyAccessor.IndexGetter
- All Implemented Interfaces:
Serializable,Getter
- Enclosing class:
IndexPropertyAccessor
The Getter implementation for index backrefs.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the property value from the given instance .getForInsert(Object target, 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
-
Constructor Details
-
IndexGetter
public IndexGetter()
-
-
Method Details
-
getForInsert
public Object getForInsert(Object target, Map mergeMap, SessionImplementor session) throws HibernateException Description copied from interface:GetterGet the property value from the given owner instance.- Specified by:
getForInsertin interfaceGetter- Parameters:
target- 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
-
get
Get the property value from the given instance . -
getMember
Retrieve the member to which this property maps. This might be the field or it might be the getter method. -
getMethod
Retrieve the getter-method. Optional operation (return null) -
getMethodName
Retrieve the getter-method name. Optional operation (return null)- Specified by:
getMethodNamein interfaceGetter- Returns:
- The name of the getter method, or null.
-
getReturnType
Retrieve the declared Java type- Specified by:
getReturnTypein interfaceGetter- Returns:
- The declared java type.
-