org.apache.tuscany.sdo.api
Interface Event

All Known Implementing Classes:
EventImpl

public interface Event

An experimental Tuscany API interface, subject to possible change, to permit notification of change events on a DataObject instance


Field Summary
static int ADD
           
static int ADD_MANY
           
static int MOVE
           
static int NO_INDEX
           
static int REMOVE
           
static int REMOVE_LISTENER
           
static int REMOVE_MANY
           
static int SET
          constants returned from getEventType()
static int UNSET
           
 
Method Summary
 int getEventType()
           
 Object getNewValue()
           
 Object getNotifier()
           
 Object getOldValue()
           
 int getPosition()
           
 Property getProperty()
          get the Property for which the value changed
 boolean isTouch()
           
 boolean wasSet()
           
 

Field Detail

SET

static final int SET
constants returned from getEventType()

See Also:
Constant Field Values

UNSET

static final int UNSET
See Also:
Constant Field Values

ADD

static final int ADD
See Also:
Constant Field Values

REMOVE

static final int REMOVE
See Also:
Constant Field Values

ADD_MANY

static final int ADD_MANY
See Also:
Constant Field Values

REMOVE_MANY

static final int REMOVE_MANY
See Also:
Constant Field Values

MOVE

static final int MOVE
See Also:
Constant Field Values

REMOVE_LISTENER

static final int REMOVE_LISTENER
See Also:
Constant Field Values

NO_INDEX

static final int NO_INDEX
See Also:
Constant Field Values
Method Detail

getNotifier

Object getNotifier()

getEventType

int getEventType()

getProperty

Property getProperty()
get the Property for which the value changed


getOldValue

Object getOldValue()

getNewValue

Object getNewValue()

wasSet

boolean wasSet()

isTouch

boolean isTouch()

getPosition

int getPosition()


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.