Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.ui.data.bean
Class BeanArrayDataObjectList

java.lang.Object
  |
  +--oracle.cabo.ui.data.bean.BeanArrayDataObjectList
All Implemented Interfaces:
DataObjectList

public class BeanArrayDataObjectList
extends java.lang.Object
implements DataObjectList

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.

See Also:
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

BeanArrayDataObjectList

public BeanArrayDataObjectList(java.lang.Object[] array)
Creates a BeanArrayDataObjectList.
Parameters:
array - the array of beans

BeanArrayDataObjectList

public BeanArrayDataObjectList(java.lang.Object[] array,
                               ErrorLog log)
Creates a BeanArrayDataObjectList.
Parameters:
array - the array of beans
Method Detail

getLength

public int getLength()
Returns the number of items in the data set.
Specified by:
getLength in interface DataObjectList

getItem

public DataObject getItem(int index)
Returns the DataObject at the index.
Specified by:
getItem in interface DataObjectList

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.