oracle.dacf.dataset
Class AttributeChangeEvent
java.lang.Object
|
+--java.util.EventObject
|
+--oracle.dacf.dataset.AttributeChangeEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class AttributeChangeEvent
- extends java.util.EventObject
An AttributeChangeEvent is created when a change listener that
implements the ChangeListener interface detects that the
attribute's value is about to be changed.
- Version:
- SDK: since JDeveloper 2.0
- See Also:
ChangeListener interface whenever an AttributeInfo's value is
changed.
This event will be generated whenever a new value is successfully
stored to an AttributeInfo via the ImmediateAccess.setValue() method.
, Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
AttributeChangeEvent(java.lang.Object source,
java.lang.Object oldVal,
java.lang.Object newVal)
Public constructor. |
Method Summary |
java.lang.Object |
getNewValue()
Returns the value of this attribute after the change. |
java.lang.Object |
getOldValue()
Returns the value of this attribute before the change. |
void |
setNewValue(java.lang.Object nuNewValue)
Specifies the new value of this attribute. |
void |
setOldValue(java.lang.Object nuOldValue)
Specifies the value for this attribute before the change. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AttributeChangeEvent
public AttributeChangeEvent(java.lang.Object source,
java.lang.Object oldVal,
java.lang.Object newVal)
- Public constructor.
- Parameters:
source
- the AttributeInfo generating the event.oldVal
- the old value of the attribute.newVal
- the new value of the attribute.
setOldValue
public void setOldValue(java.lang.Object nuOldValue)
- Specifies the value for this attribute before the change.
- Parameters:
nuOldVal
- the old value of this attribute.
getOldValue
public java.lang.Object getOldValue()
- Returns the value of this attribute before the change.
- Returns:
- the value of this attribute before the change.
setNewValue
public void setNewValue(java.lang.Object nuNewValue)
- Specifies the new value of this attribute.
- Parameters:
newVal
- the new value of this attribute.
getNewValue
public java.lang.Object getNewValue()
- Returns the value of this attribute after the change.
- Returns:
- the value of this attribute after the change.