EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.jpql.model
Interface IListChangeListener<T>


public interface IListChangeListener<T>

A IListChangeListener can be registered with a StateObject in order to be notified when a list changes (items are added or removed from it or some items have been moved inside of that list).

Version:
2.4
Author:
Pascal Filion
Since:
2.4

Method Summary
 void itemsAdded(IListChangeEvent<T> e)
          Notifies this listener new items have been added to the list.
 void itemsMoved(IListChangeEvent<T> e)
          Notifies this listener the list had items moved within the list.
 void itemsRemoved(IListChangeEvent<T> e)
          Notifies this listener items have been removed from the list.
 

Method Detail

itemsAdded

void itemsAdded(IListChangeEvent<T> e)
Notifies this listener new items have been added to the list.

Parameters:
e - The IListChangeEvent object containing the information of the change

itemsMoved

void itemsMoved(IListChangeEvent<T> e)
Notifies this listener the list had items moved within the list.

Parameters:
e - The IListChangeEvent object containing the information of the change

itemsRemoved

void itemsRemoved(IListChangeEvent<T> e)
Notifies this listener items have been removed from the list.

Parameters:
e - The IListChangeEvent object containing the information of the change

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference