oracle.binding
Class DataChangeEvent
java.lang.Object
java.util.EventObject
oracle.binding.DataEvent
oracle.binding.DataChangeEvent
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- DCDataChangeEvent
public class DataChangeEvent
- extends DataEvent
- See Also:
- Serialized Form
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. |
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 |
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.
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()
Copyright © 1997, 2009, Oracle. All rights reserved.