Package org.hibernate.property
Class MapAccessor.MapGetter
java.lang.Object
org.hibernate.property.MapAccessor.MapGetter
- All Implemented Interfaces:
Serializable,Getter
- Enclosing class:
MapAccessor
- See Also:
-
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
-
Method Details
-
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.
-
get
Get the property value from the given instance .- Specified by:
getin interfaceGetter- Parameters:
target- The instance containing the value to be retreived.- Returns:
- The extracted value.
- Throws:
HibernateException
-
getForInsert
Get 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.
-
getReturnType
Retrieve the declared Java type- Specified by:
getReturnTypein interfaceGetter- Returns:
- The declared java type.
-