|
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.BeanArrayDataObjectList
DataObjectList class that will automatically turn each bean into a DataObject. See the BeanAdapterUtils for more information on this process.
Individual elements of the bean array do not all need to be the same type - though if you specify the type in the constructor, that is effectively the same thing. Also, elements of the array that implement the DataObject interface will be handled without extra overhead, and null elements are allowed as well.
BeanAdapterUtils
Constructor Summary | |
BeanArrayDataObjectList(java.lang.Object[] array)
Creates a BeanArrayDataObjectList. |
|
BeanArrayDataObjectList(java.lang.Object[] array,
ErrorLog log)
Creates a BeanArrayDataObjectList. |
Method Summary | |
DataObject |
getItem(int index)
Returns the DataObject at the index. |
int |
getLength()
Returns the number of items in the data set. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BeanArrayDataObjectList(java.lang.Object[] array)
array
- the array of beanspublic BeanArrayDataObjectList(java.lang.Object[] array, ErrorLog log)
array
- the array of beansMethod Detail |
public int getLength()
getLength
in interface DataObjectList
public DataObject getItem(int index)
getItem
in interface DataObjectList
|
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 |