oracle.jbo
Class  UpdateEvent
java.lang.Object
  |
  +--java.util.EventObject
        |
        +--oracle.jbo.JboEvent
              |
              +--oracle.jbo.RowEvent
                    |
                    +--oracle.jbo.UpdateEvent
- public class UpdateEvent- extends RowEvent
An event class used by RowSetIterator to inform its listeners
 when a row is modified.
- Since: 
- JDeveloper 3.0
- See Also: 
- Serialized Form
| Fields inherited from class java.util.EventObject | 
| source | 
 
 
 
 
| Methods inherited from class java.util.EventObject | 
| getSource | 
 
| Methods inherited from class java.lang.Object | 
| clone, 
equals, 
finalize, 
getClass, 
hashCode, 
notify, 
notifyAll, 
wait, 
wait, 
wait | 
 
UpdateEvent
public UpdateEvent(RowSetIterator source,
                   Row row,
                   int rowIndex,
                   int[] attrIndices)
- Creates an event when a row is modified. - 
- Parameters:
- source- an accessor to a set of rows.
- row- the modified row.
- rowIndex- the row's index in the row set range.
- attrIndices- an array containing the indices of the attributes that have been modified.
 
getChangedAttrIndices
public int[] getChangedAttrIndices()
- Gets the indices of the changed attributes.- 
- Returns:
- an array containing the indices of the attributes that have been modified.
 
getChangedAttrNames
public java.lang.String[] getChangedAttrNames()
- Gets the names of the changed attributes.- 
- Returns:
- an array containing the names of the attributes that have been modified.
 
toString
public java.lang.String toString()
- Internal: For debugging only.- 
- Overrides:
- toString in class java.util.EventObject
 
- 
- Returns:
- a diagnostic string.