disciplex.dni
Class DocumentAddedEvent
java.lang.Object
|
+--java.util.EventObject
|
+--disciplex.dni.DNIEvent
|
+--disciplex.dni.DocumentAddedEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class DocumentAddedEvent
- extends DNIEvent
Event for notfication about setDocument 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 |
DocumentAddedEvent(java.lang.Object source,
java.lang.String name,
org.w3c.dom.Document document)
|
| 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 |
DocumentAddedEvent
public DocumentAddedEvent(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 documentdocument - the document
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