public class ObjectChangeListener
extends java.lang.Object
implements java.beans.PropertyChangeListener, java.io.Serializable
Purpose: Define a listener for object change tracking.
Description: Listener is notified on a PropertyChangeEvent from the object it belongs to.
Responsibilities: Set the flag to true when there is any change in the object.
Constructor and Description |
---|
ObjectChangeListener()
INTERNAL:
Create a ObjectChangeListener
|
Modifier and Type | Method and Description |
---|---|
void |
clearChanges(boolean forRefresh)
INTERNAL:
Clear a change flag used in this method.
|
boolean |
hasChanges()
INTERNAL:
This method should return true if the object has been changed and false otherwise.
|
void |
ignoreEvents()
INTERNAL:
This method will set this listener to ignore events not issues by EclipseLink
|
void |
internalPropertyChange(java.beans.PropertyChangeEvent evt)
INTERNAL:
This method turns marks the object as changed.
|
void |
processEvents()
INTERNAL:
This method will set this listener to ignore events not issues by EclipseLink
|
void |
propertyChange(java.beans.PropertyChangeEvent evt)
PUBLIC:
This method turns marks the object as changed.
|
public ObjectChangeListener()
public void ignoreEvents()
public void processEvents()
public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange
in interface java.beans.PropertyChangeListener
public void internalPropertyChange(java.beans.PropertyChangeEvent evt)
public boolean hasChanges()
public void clearChanges(boolean forRefresh)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference