All Packages  This Package  Class Hierarchy  Class Search  Index

Class kh.util.StringNamedValue
java.lang.Object
   |
   +----kh.util.StringNamedValue

  Summary

public abstract class  StringNamedValue
     extends java.lang.Object
     implements kh.util.NamedValue
{
          // Constructors 1
     protected StringNamedValue(Object);

          // Methods 2
     public Object getName();
     public abstract double getValue() throws Exception;
}

This class defines a data source which has a string name. You can get the last read value of the data source or ask the datasource to update it's value. This subclass keeps the String name locally and handles the caching of returned values.




  Constructors

· StringNamedValue

Summary  |  Top

   protected StringNamedValue(Object name) 


  Methods

· getName

Summary  |  Top
   public Object getName() 

Return the identifier for this data source - normally a string

Implements:
getName in interface NamedValue


· getValue

Summary  |  Top
   public abstract double getValue()  throws Exception

Update the value to reflect current reality and return the new value.

Implements:
getValue in interface NamedValue


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7