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

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

public class InitializedValueEvent
extends EventObject

Events of this type are sent to an object that implements InitializationListener when attribute values of a variable are initialized.

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

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
InitializedValueEvent(VariableAttributeInfo info, Object value)
          Constructs a new initializer event.
 
Method Summary
 VariableAttributeInfo getAttributeInfo()
          Gets the attribute info.
 Object getDefaultValue()
          Gets the default value.
 void setDefaultValue(Object value)
          Sets the default 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

InitializedValueEvent

public InitializedValueEvent(VariableAttributeInfo info,
                             Object value)
Constructs a new initializer event.

Parameters:
info - the variable attribute info.
value - the default value.
Method Detail

getAttributeInfo

public VariableAttributeInfo getAttributeInfo()
Gets the attribute info.

Returns:
the attribute info.

getDefaultValue

public Object getDefaultValue()
Gets the default value.

Returns:
the attribute value.

setDefaultValue

public void setDefaultValue(Object value)
Sets the default value.

Parameters:
value - the default value.


Copyright © 2004 The Norther Organization. All rights reserved.