Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.1.0)

E17483-02

oracle.jbo
Class RowEvent

java.lang.Object
  extended by java.util.EventObject
      extended by oracle.jbo.JboEvent
          extended by oracle.jbo.RowEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
InsertDeleteEvent, UpdateEvent

public class RowEvent
extends JboEvent

An event class used by RowSetIterator to inform its listeners when a row is modified, added, or deleted.

Since:
JDeveloper 3.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RowEvent(NavigatableRowIterator source, Row row, int rowIndex)
          Creates an event when a row is modified, added, or deleted.
 
Method Summary
 Row getRow()
          Gets the row that has been modified.
 int getRowIndex()
          Gets the index of the row that has been modified.
 java.lang.String toString(java.lang.String className)
          Internal: For debugging only.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RowEvent

public RowEvent(NavigatableRowIterator source,
                Row row,
                int rowIndex)
Creates an event when a row is modified, added, or deleted.

Parameters:
source - an accessor to a set of rows.
row - the modified row.
rowIndex - the row's index in the row set range.
Method Detail

getRow

public Row getRow()
Gets the row that has been modified.

Returns:
the modified row object.

getRowIndex

public int getRowIndex()
Gets the index of the row that has been modified.

Returns:
the modified row object's index in the row set range.

toString

public java.lang.String toString(java.lang.String className)
Internal: For debugging only.

Returns:
a diagnostic string.

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.1.0)

E17483-02

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