com.sybase.uep.bobclient.data
Class ModelChangeEvent
java.lang.Object
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
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 |
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
ModelChangeEvent
public ModelChangeEvent(int type,
java.lang.Object source)
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