com.ibm.etools.emf.notify
Interface Notification


public interface Notification


Field Summary
static java.lang.String copyright
           
 
Method Summary
 void add(Notification n)
          Add the notification at the end of the list.
 int getEventType()
          Get the event type.
 java.lang.Object getNewValue()
          Get the new value.
 Notification getNext()
          Get the next notification in the list if any.
 Notifier getNotifier()
          Get the notifier.
 java.lang.Object getOldValue()
          Get the old value.
 int getPosition()
          Get the position for the change.
 com.ibm.etools.emf.ref.RefObject getStructuralFeature()
          Get the structural feature.
 void setNext(Notification n)
          Set the next notification in the list.
 

Field Detail

copyright

public static final java.lang.String copyright
Method Detail

getNotifier

public Notifier getNotifier()
Get the notifier.
Returns:
Notifier The sender of notification.

getEventType

public int getEventType()
Get the event type.
Returns:
int The event type defined in Notifier.

getStructuralFeature

public com.ibm.etools.emf.ref.RefObject getStructuralFeature()
Get the structural feature.
Returns:
RefObject The structural feature.

getOldValue

public java.lang.Object getOldValue()
Get the old value.
Returns:
Object The old value.

getNewValue

public java.lang.Object getNewValue()
Get the new value.
Returns:
Object The new value.

getPosition

public int getPosition()
Get the position for the change.
Returns:
int The index of change in the list.

add

public void add(Notification n)
Add the notification at the end of the list.
Parameters:
Notification - The next notification in the list.

setNext

public void setNext(Notification n)
Set the next notification in the list.
Parameters:
Notification - The next notification in the list.

getNext

public Notification getNext()
Get the next notification in the list if any.
Returns:
Notification The next notification in the list, or null.