Class DataAdapter
- java.lang.Object
-
- java.util.Observable
-
- de.uka.ipd.sdq.sensorframework.adapter.DataAdapter
-
- All Implemented Interfaces:
IAdapter
- Direct Known Subclasses:
IdentitySensorAdapter,StateSensorToPieAdapter,StateToUtilizationAdapter,TimeSpanToHistogramAdapter,TimeSpanToQuantilAdapter,TimeSpanToThroughputHistogramAdapter,TimeSpanToThroughputUtilizationAdapter,TimeSpanToTimeSeriesAdapter
public abstract class DataAdapter extends Observable implements IAdapter
Deprecated.Superseded by EDP2.Superclass for all DataAdapter in the SensorFramework. All Adapters can have property setting and changes need to be observed to allow changes on the GUI.
-
-
Field Summary
Fields Modifier and Type Field Description protected PropertiesadapterPropertiesDeprecated.The properties settings for this adapterstatic StringSETTINGS_CHANGEDDeprecated.
-
Constructor Summary
Constructors Constructor Description DataAdapter()Deprecated.Initializes a new DataAdapter without properties.DataAdapter(Properties adapterProperties)Deprecated.Initializes a new DataAdapter with the given properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PropertiesgetProperties()Deprecated.Get the properties used to configure the adaptervoidsetProperties(Properties newProperties)Deprecated.Set the properties of this adapter.-
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
-
Methods inherited from interface de.uka.ipd.sdq.sensorframework.adapter.IAdapter
getAdaptedObject
-
-
-
-
Field Detail
-
SETTINGS_CHANGED
public static final String SETTINGS_CHANGED
Deprecated.- See Also:
- Constant Field Values
-
adapterProperties
protected Properties adapterProperties
Deprecated.The properties settings for this adapter
-
-
Constructor Detail
-
DataAdapter
public DataAdapter()
Deprecated.Initializes a new DataAdapter without properties.
-
DataAdapter
public DataAdapter(Properties adapterProperties)
Deprecated.Initializes a new DataAdapter with the given properties.- Parameters:
adapterProperties- The associated properties.
-
-
Method Detail
-
getProperties
public Properties getProperties()
Deprecated.Get the properties used to configure the adapter- Specified by:
getPropertiesin interfaceIAdapter- Returns:
- This adapters properties
-
setProperties
public void setProperties(Properties newProperties)
Deprecated.Set the properties of this adapter. Properties can be used to control the adapter's output, e.g., setting the histogram width of a histogram- Specified by:
setPropertiesin interfaceIAdapter- Parameters:
newProperties- The new properties to be used in this adapter
-
-