public class ComponentData
extends java.lang.Object
The data can be accessed as time series objects or in the "clobbed" format which is meant only for Oracle TMCDB but for legacy reasons is supported on the interface level as well (see http://ictjira.alma.cl/browse/ICT-1167)
Note that one baci property may have been expanded to multiple ComponentData instances.
The name "ComponentData" is misleading because a device component can have many monitor points and thus produce many instances of this class for a given time interval. However we have not bothered yet to change this legacy issue.
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
componentName |
java.lang.Integer |
index |
protected java.util.logging.Logger |
logger |
MonitorPointTimeSeries |
mpTs |
java.lang.String |
propertyName |
int |
sampleSize |
java.lang.String |
serialNumber |
long |
startTime |
ComponentStatistics |
statistics |
long |
stopTime |
| Constructor and Description |
|---|
ComponentData(MonitorPointTimeSeries mpTs,
java.util.logging.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getClob()
Gets the monitor point data in "clobbed" format.
|
int |
getDataSize()
Gets the number of MonitorPointValue objects
contained in the MonitorPointTimeSeries,
or
-1 if in special cases this ComponentData objects holds no data. |
MonitorPointTimeSeries |
getMonitorPointTimeSeries()
Gets the monitor point data.
|
int |
hashCode()
|
java.lang.String |
propertyPathname() |
java.lang.String |
toString()
Returns a formatted name-value string, excluding the clobbed data.
|
protected java.lang.String |
toString(boolean includeClobData) |
java.lang.String |
toStringWithClob()
Returns a formatted name-value string, including the clobbed data.
|
public final MonitorPointTimeSeries mpTs
public final int sampleSize
public java.lang.String componentName
public java.lang.String propertyName
public java.lang.Integer index
public java.lang.String serialNumber
public long startTime
public long stopTime
public ComponentStatistics statistics
protected final java.util.logging.Logger logger
public ComponentData(MonitorPointTimeSeries mpTs, java.util.logging.Logger logger)
public MonitorPointTimeSeries getMonitorPointTimeSeries()
public int getDataSize()
-1 if in special cases this ComponentData objects holds no data.public java.lang.String getClob()
public java.lang.String toStringWithClob()
public java.lang.String toString()
toString in class java.lang.Objectprotected java.lang.String toString(boolean includeClobData)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String propertyPathname()