EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

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

All Known Implementing Classes:
PropertyChangeEvent

public interface IPropertyChangeEvent<T>

This is used in conjunction with IPropertyChangeListener. It contains the information regarding the property change.

Version:
2.4
Author:
Pascal Filion
Since:
2.4

Method Summary
 T getNewValue()
          Returns the new value of the property that changed.
 T getOldValue()
          Returns the old value of the property that changed.
 java.lang.String getPropertyName()
          Returns the name of the property that changed.
<S extends StateObject>
S
getSource()
          Returns the source where the modification occurred and that fired the event.
 

Method Detail

getNewValue

T getNewValue()
Returns the new value of the property that changed.

Returns:
The property's new value

getOldValue

T getOldValue()
Returns the old value of the property that changed.

Returns:
The property's old value

getPropertyName

java.lang.String getPropertyName()
Returns the name of the property that changed.

Returns:
A unique identifier of the property that changed

getSource

<S extends StateObject> S getSource()
Returns the source where the modification occurred and that fired the event.

Returns:
The source of the event

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference