disciplex.dni
Class NodeValueSetEvent
java.lang.Object
|
+--java.util.EventObject
|
+--disciplex.dni.DNIEvent
|
+--disciplex.dni.NodeValueSetEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class NodeValueSetEvent
- extends DNIEvent
Event for notfication about setNodeValue invocations on the
DISCIPLE Repository.
Copyright (c) 2003 Rutgers, The State University of New Jersey
- Version:
- $Revision: 1.2 $
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
|
Constructor Summary |
NodeValueSetEvent(java.lang.Object source,
org.w3c.dom.Node node,
java.lang.String value,
java.lang.String oldValue)
|
| 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 |
NodeValueSetEvent
public NodeValueSetEvent(java.lang.Object source,
org.w3c.dom.Node node,
java.lang.String value,
java.lang.String oldValue)
- Parameters:
source - the source object (e.g. DNIAdapter)node - the target nodevalue - the new value of the nodeoldValue - the previous value of the node
getNode
public org.w3c.dom.Node getNode()
- Returns:
- the new node
getNodeHashCode
public int getNodeHashCode()
- Convenience method to get hash code for the node. Can be used for ID purposes.
- Returns:
- the hash code
getValue
public java.lang.String getValue()
- Returns:
- the new node value
getOldValue
public java.lang.String getOldValue()
- Returns:
- the old node value
Copyright (c) 2003 Rutgers, The State University of New Jersey