|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.basedb.core.ExtendedPropertyAccessor.GetterSetter
static final class ExtendedPropertyAccessor.GetterSetter
This class implements the Hibernate Getter and
Setter interfaces. For each property of
an Extendable item there exist one Getter
and Setter object.
| Field Summary | |
|---|---|
private Class |
clazz
|
private String |
property
|
private static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
private |
ExtendedPropertyAccessor.GetterSetter(Class clazz,
String property)
Create a new getter or setter. |
| Method Summary | |
|---|---|
Object |
get(Object target)
Get the value of the extended property. |
Object |
getForInsert(Object target,
Map mergeMap,
SessionImplementor session)
Get the value of the extended property. |
Member |
getMember()
Always return null. |
Method |
getMethod()
Always return null. |
String |
getMethodName()
Always return null. |
Class |
getReturnType()
Always return null. |
void |
set(Object target,
Object value,
SessionFactoryImplementor factory)
Set the value of the extended property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private final Class clazz
private final String property
| Constructor Detail |
|---|
private ExtendedPropertyAccessor.GetterSetter(Class clazz,
String property)
clazz - The Class of the itemproperty - The name of the extended property| Method Detail |
|---|
public Object get(Object target)
get in interface Gettertarget - The ExtendableData that holds the value
ClassCastException - If the target is not
ExtendableData
public Object getForInsert(Object target,
Map mergeMap,
SessionImplementor session)
getForInsert in interface Gettertarget - The ExtendableData that holds the valuemergeMap - A map of merged persistent instances to detached instances, whatever
that means...session - The session from which this request originated.
ClassCastException - If the target is not
ExtendableData
public void set(Object target,
Object value,
SessionFactoryImplementor factory)
set in interface Settertarget - The Extendable that holds the valuevalue - The new valuefactory - The session factory from which this request originated.
ClassCastException - If the target is not
ExtendableDatapublic Member getMember()
getMember in interface Getterpublic Class getReturnType()
getReturnType in interface Getterpublic String getMethodName()
getMethodName in interface GettergetMethodName in interface Setterpublic Method getMethod()
getMethod in interface GettergetMethod in interface Setter
|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||