jmri
Class AbstractMemory

java.lang.Object
  extended by jmri.AbstractNamedBean
      extended by jmri.AbstractMemory
All Implemented Interfaces:
Serializable, Memory, NamedBean
Direct Known Subclasses:
DefaultMemory

public abstract class AbstractMemory
extends AbstractNamedBean
implements Memory, Serializable

Base for the Memory interface.

Implements the parameter binding support.

Note that we consider it an error for there to be more than one object that corresponds to a particular physical Reporter on the layout.

Author:
Bob Jacobsen Copyright (C) 2004
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface jmri.NamedBean
INCONSISTENT, UNKNOWN
 
Constructor Summary
AbstractMemory(String systemName)
           
AbstractMemory(String systemName, String userName)
           
 
Method Summary
 Object getValue()
          Get the stored value.
 void setValue(Object v)
          Provide a general method for updating the report.
 
Methods inherited from class jmri.AbstractNamedBean
addPropertyChangeListener, dispose, firePropertyChange, getNumPropertyChangeListeners, getSystemName, getUserName, removePropertyChangeListener, setUserName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jmri.NamedBean
addPropertyChangeListener, dispose, getNumPropertyChangeListeners, getState, getSystemName, getUserName, removePropertyChangeListener, setState, setUserName
 

Constructor Detail

AbstractMemory

public AbstractMemory(String systemName)

AbstractMemory

public AbstractMemory(String systemName,
                      String userName)
Method Detail

getValue

public Object getValue()
Description copied from interface: Memory
Get the stored value. The type of this depends on what was stored...

Specified by:
getValue in interface Memory

setValue

public void setValue(Object v)
Provide a general method for updating the report.

Specified by:
setValue in interface Memory


Copyright © 1997 - 2008 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: SourceForge_Logo