disciplex.dni
Class AttributeSetEvent

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

public class AttributeSetEvent
extends DNIEvent

Event for notfication about setAttribute invocations on the DISCIPLE Repository.

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

Version:
$Revision: 1.3 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AttributeSetEvent(java.lang.Object source, org.w3c.dom.Node node, java.lang.String name, java.lang.String value, java.lang.String oldValue)
           
 
Method Summary
 java.lang.String getName()
           
 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

AttributeSetEvent

public AttributeSetEvent(java.lang.Object source,
                         org.w3c.dom.Node node,
                         java.lang.String name,
                         java.lang.String value,
                         java.lang.String oldValue)
Parameters:
source - the source object (e.g. DNIAdapter)
node - the target node
name - the name of the attribute
value - the new value of the attribute
oldValue - the previous value of the attribute
Method Detail

getNode

public org.w3c.dom.Node getNode()
Returns:
the target node

getNodeHashCode

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

Returns:
the hash code

getName

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

getValue

public java.lang.String getValue()
Returns:
the new attribute value

getOldValue

public java.lang.String getOldValue()
Returns:
the old attribute value


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