disciplex.dni
Class DocumentRemovedEvent

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

public class DocumentRemovedEvent
extends DNIEvent

Event for notfication about removeDocument 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
DocumentRemovedEvent(java.lang.Object source, java.lang.String name, org.w3c.dom.Document document)
           
 
Method Summary
 org.w3c.dom.Document getDocument()
           
 int getDocumentHashCode()
          Convenience method to get hash code for the document.
 java.lang.String getName()
           
 
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

DocumentRemovedEvent

public DocumentRemovedEvent(java.lang.Object source,
                            java.lang.String name,
                            org.w3c.dom.Document document)
Parameters:
source - the source object (e.g. DNIAdapter)
name - the name of the document
document - the document
Method Detail

getName

public java.lang.String getName()
Returns:
the document name

getDocument

public org.w3c.dom.Document getDocument()
Returns:
the document

getDocumentHashCode

public int getDocumentHashCode()
Convenience method to get hash code for the document. Can be used for ID purposes.

Returns:
the hash code


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