com.sybase.uep.bobclient.data
Class ModelChangeEvent

java.lang.Object
  extended by com.sybase.uep.bobclient.data.ModelChangeEvent

public class ModelChangeEvent
extends java.lang.Object

Once the model changed, a ModelChangeEvent instance should be created and passed to each IModelChangeListener instances as parameter of modelChanged method

Author:
haowang

Field Summary
static int CLIENT_CHANGE_TYPE
           
static int CREATE_TYPE
           
static int CURRENT_SELECT_CHANGE_TYPE
           
static int DELETE_TYPE
           
static int NAMED_QUERY_INITIALIZED_TYPE
           
static int NAMED_QUERY_TYPE
           
static int OTHER_TYPE
           
static int PARENT_SELECT_CHANGE_TYPE
           
static int RELATIONSHIP_CHANGE_TYPE
           
static int SYNC_TYPE
           
static int UPDATE_TYPE
           
 
Constructor Summary
ModelChangeEvent(int type, java.lang.Object source)
           
 
Method Summary
 java.lang.Object getSource()
          Gets the source
 int getType()
          Gets the type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CREATE_TYPE

public static final int CREATE_TYPE
See Also:
Constant Field Values

DELETE_TYPE

public static final int DELETE_TYPE
See Also:
Constant Field Values

UPDATE_TYPE

public static final int UPDATE_TYPE
See Also:
Constant Field Values

SYNC_TYPE

public static final int SYNC_TYPE
See Also:
Constant Field Values

OTHER_TYPE

public static final int OTHER_TYPE
See Also:
Constant Field Values

PARENT_SELECT_CHANGE_TYPE

public static final int PARENT_SELECT_CHANGE_TYPE
See Also:
Constant Field Values

CURRENT_SELECT_CHANGE_TYPE

public static final int CURRENT_SELECT_CHANGE_TYPE
See Also:
Constant Field Values

NAMED_QUERY_INITIALIZED_TYPE

public static final int NAMED_QUERY_INITIALIZED_TYPE
See Also:
Constant Field Values

NAMED_QUERY_TYPE

public static final int NAMED_QUERY_TYPE
See Also:
Constant Field Values

CLIENT_CHANGE_TYPE

public static final int CLIENT_CHANGE_TYPE
See Also:
Constant Field Values

RELATIONSHIP_CHANGE_TYPE

public static final int RELATIONSHIP_CHANGE_TYPE
See Also:
Constant Field Values
Constructor Detail

ModelChangeEvent

public ModelChangeEvent(int type,
                        java.lang.Object source)
Method Detail

getType

public int getType()
Gets the type

Returns:
type of the event

getSource

public java.lang.Object getSource()
Gets the source

Returns:
source of the event