|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.asu.cri.MirkE.dataStructures.DataPoint
A DataPoint represents a single, atomic set of measurements.
It contains a Timestamp (representing when the DataPoint's
observation took place) and an observableToMeasuredValueMap which maps
from an Observable being measured (or a String name) to an
appropriate class representing the measurement (typically a UnitValue or a MeasuredValue)
| Constructor Summary | |
DataPoint()
|
|
| Method Summary | |
boolean |
equals(java.lang.Object object)
|
java.util.Map |
getDescriptorMap()
Deprecated. |
long |
getId()
|
java.util.Map |
getObservableToMeasuredValueMap()
get a Map mapping from Observables to corresponding MeasuredValues |
java.lang.Object |
getObservationFromObservable(java.lang.Object observable)
|
java.sql.Timestamp |
getTimestamp()
Deprecated. |
int |
hashCode()
|
void |
setDescriptorMap(java.util.Map descriptorMap)
Deprecated. |
void |
setId(long id)
|
void |
setObservableToMeasuredValueMap(java.util.Map observableToMeasuredValueMap)
|
void |
setTimestamp(java.sql.Timestamp timestamp)
Deprecated. |
void |
storeUnitValueForObservable(java.lang.Object observable,
UnitValue unitValue)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DataPoint()
| Method Detail |
public long getId()
public void setId(long id)
id - public java.sql.Timestamp getTimestamp()
Timestamp for the DataPointpublic void setTimestamp(java.sql.Timestamp timestamp)
timestamp - representing when the DataPoint was measured.public void setDescriptorMap(java.util.Map descriptorMap)
descriptorMap - public java.util.Map getDescriptorMap()
public java.util.Map getObservableToMeasuredValueMap()
Map mapping from Observables to corresponding MeasuredValues
public java.lang.Object getObservationFromObservable(java.lang.Object observable)
observable -
Object (possibly a UnitValue, MeasuredValue or a Number) corresponding to the observable.
public void storeUnitValueForObservable(java.lang.Object observable,
UnitValue unitValue)
observable - unitValue - corresponding to the observable.public void setObservableToMeasuredValueMap(java.util.Map observableToMeasuredValueMap)
observableToMeasuredValueMap - public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object object)
object -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||