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

E10653-05

oracle.binding
Class DataChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by oracle.binding.DataEvent
          extended by oracle.binding.DataChangeEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DCDataChangeEvent

public class DataChangeEvent
extends DataEvent

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DataChangeEvent(java.lang.Object source, int id, DataChangeEntry[] changeList)
          Advanced internal only for framework use.
DataChangeEvent(java.lang.Object source, int id, java.util.List<DataChangeEntry> changeList)
          Creates an event with a data change list.
DataChangeEvent(java.lang.Object source, int id, java.util.List<DataChangeEntry> changeList, java.sql.Timestamp ts)
          Creates an event with a data change list and generation timestamp.
 
Method Summary
 java.util.List<DataChangeEntry> getChangeList()
           
 java.sql.Timestamp getEventTimestamp()
           
protected  void initList(java.util.List changeList)
           
protected  void setEventTimestamp(java.sql.Timestamp ts)
           
 
Methods inherited from class oracle.binding.DataEvent
getEventId
 
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

DataChangeEvent

public DataChangeEvent(java.lang.Object source,
                       int id,
                       java.util.List<DataChangeEntry> changeList,
                       java.sql.Timestamp ts)
Creates an event with a data change list and generation timestamp.

Parameters:
source - the publisher of the event.
id - Event Identifier generated by the datacontrol. This will be carried through to the component so that component may request datacontrol to start events from the given id onwards.
changeList - A list of changes on this collection to be batched into this event.
ts - Timestamp when this event is generated.

DataChangeEvent

public DataChangeEvent(java.lang.Object source,
                       int id,
                       java.util.List<DataChangeEntry> changeList)
Creates an event with a data change list. This constructor sets the current time from this java instance as the timestamp for the event.

Parameters:
source - the publisher of the event.
id - Event Identifier generated by the datacontrol. This will be carried through to the component so that component may request datacontrol to start events from the given id onwards.
changeList - A list of changes on this collection to be batched into this event.

DataChangeEvent

public DataChangeEvent(java.lang.Object source,
                       int id,
                       DataChangeEntry[] changeList)
Advanced internal only for framework use.

Method Detail

setEventTimestamp

protected void setEventTimestamp(java.sql.Timestamp ts)

initList

protected void initList(java.util.List changeList)

getChangeList

public java.util.List<DataChangeEntry> getChangeList()

getEventTimestamp

public java.sql.Timestamp getEventTimestamp()

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

E10653-05

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