Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.jbo
Class UpdateEvent

java.lang.Object
  extended by oracle.adfnmc.util.eventing.EventObject
      extended by oracle.jbo.JboEvent
          extended by oracle.jbo.RowEvent
              extended by 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

Field Summary
 
Fields inherited from class oracle.adfnmc.util.eventing.EventObject
source
 
Constructor Summary
UpdateEvent(RowSetIterator source, Row row, int rowIndex, int[] attrIndices)
          Creates an event when a row is modified.
 
Method Summary
 int[] getChangedAttrIndices()
          Gets the indices of the changed attributes.
 java.lang.String[] getChangedAttrNames()
          Gets the names of the changed attributes.
 boolean isHintsChanged()
           
 void setHintsChanged(boolean hintsChanged)
           
 java.lang.String toString()
          Internal: For debugging only.
 
Methods inherited from class oracle.jbo.RowEvent
getRow, getRowIndex, toString
 
Methods inherited from class oracle.adfnmc.util.eventing.EventObject
getSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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 EventObject
Returns:
a diagnostic string.

setHintsChanged

public void setHintsChanged(boolean hintsChanged)

isHintsChanged

public boolean isHintsChanged()

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.