net.infonode.util
Class ValueChange

java.lang.Object
  extended by net.infonode.util.ValueChange

public class ValueChange
extends java.lang.Object

A value change.

Version:
$Revision: 1.2 $
Author:
$Author: johan $

Constructor Summary
ValueChange(java.lang.Object oldValue, java.lang.Object newValue)
          Constructor.
 
Method Summary
 java.lang.Object getNewValue()
          Returns the new value.
 java.lang.Object getOldValue()
          Returns the old value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueChange

public ValueChange(java.lang.Object oldValue,
                   java.lang.Object newValue)
Constructor.

Parameters:
oldValue - the old value
newValue - the new value
Method Detail

getOldValue

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

Returns:
the old value

getNewValue

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

Returns:
the new value