Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.6.0)

E10653-07

oracle.binding
Interface RowContext

All Known Subinterfaces:
AttributeContext, RowContext
All Known Implementing Classes:
DCGenericRowContext, DCRowContext, DCRowContext

public interface RowContext

A RowContext contains context that is passed into the TransactionalDataControl APIs when manipulating a row, such as when the row is being modified, created, or removed as a result of user interaction with the view layer.


Method Summary
 java.util.Map getBindingContextMap()
          Return the bindingContext for this Application instance.
 int getCurrentRowIndex()
          Returns the current row's index in the collection.
 java.lang.String getMasterAccessorName()
          returns the accessor name on the master that is used to get this row's container.
 java.lang.Object getMasterRowDataProvider()
          Return the data object of the master row of the row that this RowContext represents.
 java.lang.Object getRowDataContainer()
          return the source container of the dataProvider for this row.
 java.lang.Object getRowDataProvider()
          Return the data object that this row represents.
 java.lang.String getRowDataProviderType()
          Return the fully-qualified type name for the dataprovider that this row represents.
 boolean isNullContainer()
          Return true when the container object of this row is null.
 

Method Detail

getRowDataProvider

java.lang.Object getRowDataProvider()
Return the data object that this row represents.


getMasterRowDataProvider

java.lang.Object getMasterRowDataProvider()
Return the data object of the master row of the row that this RowContext represents.

Returns:
The data object of the master row

isNullContainer

boolean isNullContainer()
Return true when the container object of this row is null. In that case, the datacontrol may also have to create the container object.


getRowDataProviderType

java.lang.String getRowDataProviderType()
Return the fully-qualified type name for the dataprovider that this row represents.


getBindingContextMap

java.util.Map getBindingContextMap()
Return the bindingContext for this Application instance.


getRowDataContainer

java.lang.Object getRowDataContainer()
return the source container of the dataProvider for this row.


getMasterAccessorName

java.lang.String getMasterAccessorName()
returns the accessor name on the master that is used to get this row's container.


getCurrentRowIndex

int getCurrentRowIndex()
Returns the current row's index in the collection.


Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.6.0)

E10653-07

Copyright © 1997, 2011, Oracle. All rights reserved.