public interface Getter extends Serializable
The contract for getting value for a persistent property from its container/owner
Modifier and Type | Method and Description |
---|---|
Object |
get(Object owner)
Get the property value from the given owner instance.
|
Object |
getForInsert(Object owner,
Map mergeMap,
SharedSessionContractImplementor 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
|
Object get(Object owner)
Get the property value from the given owner instance.
owner
- The instance containing the property value to be retrieved.HibernateException
Object getForInsert(Object owner, Map mergeMap, SharedSessionContractImplementor session)
Get the property value from the given owner instance.
owner
- The instance containing the value to be retrieved.mergeMap
- a map of merged persistent instances to detached instancessession
- The session from which this request originated.HibernateException
Class getReturnType()
Retrieve the declared Java type
Member getMember()
Retrieve the member to which this property maps. This might be the
field or it might be the getter method.
<p/>
Optional operation (may return null
)
null
.String getMethodName()
Retrieve the getter-method name.
<p/>
Optional operation (may return null
)
null
.Method getMethod()
Retrieve the getter-method.
<p/>
Optional operation (may return null
)
null
.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.