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
| 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)
|
| 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 |
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 nodename - the name of the attributevalue - the new value of the attributeoldValue - the previous value of the attribute
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