oracle.dss.dataSource.common
Class DataChangeEvent
java.lang.Object
|
+--java.util.EventObject
|
+--oracle.dss.dataSource.common.QueryEvent
|
+--oracle.dss.dataSource.common.DataChangeEvent
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- Direct Known Subclasses:
- DataChangedEvent, DataChangingEvent
- public abstract class DataChangeEvent
- extends QueryEvent
Base class for data change events.
- See Also:
- Serialized Form
Constructor Summary |
DataChangeEvent(java.lang.Object source, boolean dataChanged, int changeType)
Constructs the event. |
Method Summary |
int |
getChangeType()
Retrieves the type of operation that changed the data (if known) |
boolean |
isDataChanged()
Indicates whether the data cursor changed. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DataChangeEvent
public DataChangeEvent(java.lang.Object source,
boolean dataChanged,
int changeType)
- Constructs the event.
-
- Parameters:
source
- The source of the event, that is, a reference to the object that fired the event.
dataChanged
- true
if the data cursor changed, false
if not.
type
- One of the oracle.dss.util.DataChangedEvent types indicating the type of operation that changed the data, if known
isDataChanged
public boolean isDataChanged()
- Indicates whether the data cursor changed.
-
- Returns:
true
if the data cursor changed, false
if not.
getChangeType
public int getChangeType()
- Retrieves the type of operation that changed the data (if known)
-
- Returns:
- oracle.dss.util.DataChangedEvent change type
Copyright © 2003, Oracle. All Rights Reserved.