org.norther.tammi.core.rt.event
Class AccessedValueEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.norther.tammi.core.rt.event.AccessedValueEvent
All Implemented Interfaces:
Serializable

public class AccessedValueEvent
extends EventObject

Events of this type are sent to an object that implements AccessListener when attribute values of a variable are read or written.

Version:
$Id: AccessedValueEvent.java,v 1.2 2009/09/28 15:08:42 cvsimp Exp $
Author:
Marketta Priha
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AccessedValueEvent(Variable variable, String name, Object value)
          Constructs a new attributes event.
 
Method Summary
 String getAttributeName()
          Gets the attribute name.
 Object getAttributeValue()
          Gets the attribute value.
 Variable getVariable()
          Gets the variable.
 void setAttributeValue(Object value)
          Sets the attribute value.
 
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

AccessedValueEvent

public AccessedValueEvent(Variable variable,
                          String name,
                          Object value)
Constructs a new attributes event.

Parameters:
variable - the variable owning the attribute.
name - the attribute name.
value - the attribute value.
Method Detail

getVariable

public Variable getVariable()
Gets the variable.

Returns:
the variable.

getAttributeName

public String getAttributeName()
Gets the attribute name.

Returns:
the attribute name.

getAttributeValue

public Object getAttributeValue()
Gets the attribute value.

Returns:
the attribute value.

setAttributeValue

public void setAttributeValue(Object value)
Sets the attribute value.

Parameters:
value - the attribute value.


Copyright © 2004 The Norther Organization. All rights reserved.