oracle.dss.metadataUtil
Class BaseEvent
java.lang.Object
|
+--java.util.EventObject
|
+--oracle.dss.metadataUtil.BaseEvent
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ConnectionEvent, MetadataManagerEvent
- public class BaseEvent
- extends java.util.EventObject
Describes changes that occur in the Connection and MetadataManager beans. Subclasses provide more specific information.
- See Also:
- Serialized Form
Constructor Summary |
BaseEvent(java.lang.Object source, boolean isConsumable)
Constructor. |
Method Summary |
void |
consume()
Consumes this event. |
boolean |
isConsumable()
Indicates whether this event can be consumed. |
boolean |
isConsumed()
Indicates whether this even has been consumed. |
void |
setLocale(java.util.Locale locale)
|
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BaseEvent
public BaseEvent(java.lang.Object source,
boolean isConsumable)
- Constructor.
-
- Parameters:
source
- The source of this event.
isConsumable
- true
if this event can be consumed, false
if it cannot be consumed.
consume
public void consume()
throws EventException
- Consumes this event.
-
- Throws:
EventException
- If this event is not consumable.
isConsumed
public boolean isConsumed()
- Indicates whether this even has been consumed.
-
- Returns:
true
if event has been consumed, false
if it has not.
isConsumable
public boolean isConsumable()
- Indicates whether this event can be consumed.
-
- Returns:
true
if this event is consumable, false
if it is not.
setLocale
public void setLocale(java.util.Locale locale)
Copyright © 2003, Oracle. All Rights Reserved.