org.hibernate.property
Interface Getter
- Serializable
- BackrefPropertyAccessor.BackrefGetter, BasicPropertyAccessor.BasicGetter, DirectPropertyAccessor.DirectGetter, Dom4jAccessor.AttributeGetter, Dom4jAccessor.Dom4jGetter, Dom4jAccessor.ElementAttributeGetter, Dom4jAccessor.ElementGetter, Dom4jAccessor.TextGetter, EmbeddedPropertyAccessor.EmbeddedGetter, IndexPropertyAccessor.IndexGetter, MapAccessor.MapGetter
public interface Getter
extends Serializable
Gets values of a particular property
Object | get(Object owner) - Get the property value from the given instance .
|
Object | getForInsert(Object owner, Map mergeMap, SessionImplementor session) - Get the property value from the given owner instance.
|
Method | getMethod() - Optional operation (return null)
|
String | getMethodName() - Optional operation (return null)
|
Class | getReturnType() - Get the declared Java type
|
get
public Object get(Object owner)
throws HibernateException
Get the property value from the given instance .
owner
- The instance containing the value to be retreived.
getForInsert
public Object getForInsert(Object owner,
Map mergeMap,
SessionImplementor session)
throws HibernateException
Get the property value from the given owner instance.
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.
getMethod
public Method getMethod()
Optional operation (return null)
getMethodName
public String getMethodName()
Optional operation (return null)
getReturnType
public Class getReturnType()
Get the declared Java type