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

Field Summary
 
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)
           
 
Method Summary
 org.w3c.dom.Node getNode()
           
 int getNodeHashCode()
          Convenience method to get hash code for the node.
 java.lang.String getOldValue()
           
 java.lang.String getValue()
           
 
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
 

Constructor Detail

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 node
value - the new value of the node
oldValue - the previous value of the node
Method Detail

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