|
BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataAccessProvider
The DataAccessProvider interface is implemented by objects
that need to provide their children with data and wish
to make it available to them with the container
binding context. Expression evaluation will process
all container
context references against this interface;
several read-only properties are exposed:
Method | NetUI Data Binding Expression | Required |
getCurrentIndex() | container.index | Yes |
getCurrentItem() | container.item | Yes |
getCurrentMetadata() | container.metadata | No |
getDataSource() | container.dataSource | Yes |
getProviderParent() | container.container | Yes |
container.container
. For example, the item, with the property firstName,
may be accessed with the expression container.container.item.firstName
.
container
and reference one of the properties above.
Method Summary | |
---|---|
int |
getCurrentIndex()
Get the current index in this iteration. |
Object |
getCurrentItem()
Get the current data item in this DataAccessProvider. |
Object |
getCurrentMetadata()
Get a metadata object for the current item. |
String |
getDataSource()
Get the expression that references the data item to which the DataAccessProvider is bound. |
DataAccessProvider |
getProviderParent()
Get the parent DataAccessProvider of a DataAccessProvider. |
void |
setDataSource(String dataSource)
|
Method Detail |
---|
int getCurrentIndex()
Object getCurrentItem()
null
void setDataSource(String dataSource)
String getDataSource()
null
if no
dataSource is setObject getCurrentMetadata()
null
if no metadata can be
found or metadata is not supported by a DataAccessProvider implementationDataAccessProvider getProviderParent()
null
.
null
if this method
is not supported or the parent can not be found.
|
BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |