org.openmdx.base.event
Class InstanceCallbackEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.openmdx.base.event.InstanceCallbackEvent
All Implemented Interfaces:
Serializable

public class InstanceCallbackEvent
extends EventObject

openMDX Instance Callback Event

See Also:
Serialized Form

Field Summary
static short POST_LOAD
          Type of the event fired after the values are loaded from the data store into the Object_1_0 instance.
static short POST_RELOAD
          Type of the event fired after the values are loaded from the data store into the Object_1_0 instance.
static short PRE_CLEAR
          Type of the event fired before the values in the instance are cleared.
static short PRE_DELETE
          Type of the event fired before the instance is deleted.
static short PRE_STORE
          Type of the event fired before the values are stored from the Object_1_0 instance.
protected  PropertyChangeListener target
           
protected  short type
          Contains the type of this event.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
InstanceCallbackEvent(short type, Object source, PropertyChangeListener target)
          Constructor
 
Method Summary
 String toString()
          Returns a String representation of this EventObject.
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

protected final short type
Contains the type of this event.

See Also:
POST_LOAD, POST_RELOAD, PRE_STORE, PRE_CLEAR, PRE_DELETE

target

protected transient PropertyChangeListener target

POST_LOAD

public static final short POST_LOAD
Type of the event fired after the values are loaded from the data store into the Object_1_0 instance.

See Also:
Constant Field Values

POST_RELOAD

public static final short POST_RELOAD
Type of the event fired after the values are loaded from the data store into the Object_1_0 instance.

See Also:
Constant Field Values

PRE_CLEAR

public static final short PRE_CLEAR
Type of the event fired before the values in the instance are cleared.

See Also:
Constant Field Values

PRE_STORE

public static final short PRE_STORE
Type of the event fired before the values are stored from the Object_1_0 instance.

See Also:
Constant Field Values

PRE_DELETE

public static final short PRE_DELETE
Type of the event fired before the instance is deleted.

See Also:
Constant Field Values
Constructor Detail

InstanceCallbackEvent

public InstanceCallbackEvent(short type,
                             Object source,
                             PropertyChangeListener target)
Constructor

Parameters:
type -
source - The object on which the Event initially occurred.
target -
Method Detail

toString

public String toString()
Returns a String representation of this EventObject.

Overrides:
toString in class EventObject
Returns:
A a String representation of this EventObject.


This software is published under the BSD license. Copyright © 2003-2008, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.