edu.ull.cgunay.plots
Class Profilable

java.lang.Object
  |
  +--java.util.Observable
        |
        +--edu.ull.cgunay.plots.Profilable
All Implemented Interfaces:
Cloneable, Serializable
Direct Known Subclasses:
ErrorValue, ProfilableDouble

public abstract class Profilable
extends Observable
implements Cloneable, Serializable

An entity whose contents can be recorded in a Profile. Allows to be both Observable and Cloneable.

Created: Tue Apr 9 15:52:21 2002

Modified: $Date: 2002/12/17 00:58:55 $

Version:
$Revision: 1.7 $ for this file.
Author:
Cengiz Gunay
See Also:
Profile, Serialized Form

Field Summary
 
Fields inherited from class java.util.Observable
 
Constructor Summary
Profilable()
          Dummy constructor.
 
Method Summary
abstract  double doubleValue()
          Return a representation if the entity as a double value.
 Object getClone()
          Returns its clone.
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Profilable

public Profilable()
Dummy constructor.

Method Detail

getClone

public Object getClone()
Returns its clone.

Returns:
an Object value

doubleValue

public abstract double doubleValue()
Return a representation if the entity as a double value. This is used for plotting a primitive value's profile.

For most entities conversion to such a simple representation is not possible. In these cases calling this method should result in a fatal error.

Returns:
a double value