|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.ui.data.bean.IntrospectionAdapter
The IntrospectionAdapter class can adapt a JavaBean-style class into a DataObject. It also supports some features that JavaBeans does not:
IntrospectionAdapter will automatically cache the results of introspection per-class, so it's fairly efficient. Developers may wish to create a more performant adapter class for beans that are performance-critical; see the BuildBeanDOAdapter tool.
BeanAdapterUtils
,
BuildBeanDOAdapter
Method Summary | |
static BeanDOAdapter |
getAdapter(java.lang.Object instance)
Creates an adapter around an object instance. |
java.lang.Object |
selectValue(RenderingContext context,
java.lang.Object select)
Given a select string, returns the value matching that selection. |
void |
setInstance(java.lang.Object instance)
Attaches an instance of the bean class to the adapter. |
void |
updateValue(RenderingContext context,
java.lang.Object select,
java.lang.Object value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static BeanDOAdapter getAdapter(java.lang.Object instance)
public void setInstance(java.lang.Object instance)
setInstance
in interface BeanDOAdapter
public java.lang.Object selectValue(RenderingContext context, java.lang.Object select)
DataObject
selectValue
in interface DataObject
oracle.cabo.ui.data.DataObject
context
- the current rendering contextselect
- a select criterion, syntax as defined by the data objectpublic void updateValue(RenderingContext context, java.lang.Object select, java.lang.Object value)
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |