|
EclipseLink 2.4.1, build 'v20121003-ad44345' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.persistence.jpa.jpql.model.PropertyChangeEvent<T>
public class PropertyChangeEvent<T>
The default implementation of IPropertyChangeEvent where the generics is the type of the
old and new values.
| Constructor Summary | |
|---|---|
PropertyChangeEvent(StateObject source,
java.lang.String propertyName,
T oldValue,
T newValue)
Creates a new PropertyChangeEvent. |
|
| 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. |
|
|
getSource()
Returns the source where the modification occurred and that fired the event. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyChangeEvent(StateObject source,
java.lang.String propertyName,
T oldValue,
T newValue)
PropertyChangeEvent.
source - The source where the modification occurred and that fired the eventpropertyName - The name of the property associated with the property changeoldValue - The old value of the property that changednewValue - The new value of the property that changed| Method Detail |
|---|
public T getNewValue()
getNewValue in interface IPropertyChangeEvent<T>public T getOldValue()
getOldValue in interface IPropertyChangeEvent<T>public java.lang.String getPropertyName()
getPropertyName in interface IPropertyChangeEvent<T>public <S extends StateObject> S getSource()
getSource in interface IPropertyChangeEvent<T>
|
EclipseLink 2.4.1, build 'v20121003-ad44345' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||