disciplex.dni
Class NodeAddedEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--disciplex.dni.DNIEvent
              |
              +--disciplex.dni.NodeAddedEvent
All Implemented Interfaces:
java.io.Serializable

public class NodeAddedEvent
extends DNIEvent

Event for notfication about addNode 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
NodeAddedEvent(java.lang.Object source, org.w3c.dom.Node node)
           
 
Method Summary
 org.w3c.dom.Node getNode()
           
 int getNodeHashCode()
          Convenience method to get hash code for the node.
 
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

NodeAddedEvent

public NodeAddedEvent(java.lang.Object source,
                      org.w3c.dom.Node node)
Parameters:
source - the source object (e.g. DNIAdapter)
node - the new 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


Copyright (c) 2003 Rutgers, The State University of New Jersey