Class MonitoringHistory
java.lang.Object
ecmwf.common.database.DataBaseObject
ecmwf.common.database.MonitoringHistory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe moh key.protected StringThe moh metadata.protected byte[]The moh object.protected BigDecimalThe moh time.Fields inherited from class ecmwf.common.database.DataBaseObject
collectionSize, TAG_ACROSS_MULTIPLE_LINES, TAG_END_OF_LINES -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new monitoring history.MonitoringHistory(Timestamp time, String key) Instantiates a new monitoring history. -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals.getKey()Gets the key.Gets the metadata.byte[]Gets the object.getTime()Gets the time.inthashCode()Hash code.voidSets the key.voidsetMetadata(String param) Sets the metadata.voidsetObject(byte[] param) Sets the object.voidSets the time.Methods inherited from class ecmwf.common.database.DataBaseObject
bigDecimalToTimestamp, clone, compare, compare, getCollectionSize, integerToInt, integerToString, setCollectionSize, strim, stringToInteger, stringToLong, stringToString, timestampToBigDecimal, toString, toString, toString, toString
-
Field Details
-
MOH_KEY
The moh key. -
MOH_TIME
The moh time. -
MOH_METADATA
The moh metadata. -
MOH_OBJECT
protected byte[] MOH_OBJECTThe moh object.
-
-
Constructor Details
-
MonitoringHistory
public MonitoringHistory()Instantiates a new monitoring history. -
MonitoringHistory
-
-
Method Details
-
getKey
-
setKey
-
getMetadata
-
setMetadata
-
getTime
-
setTime
-
getObject
public byte[] getObject()Gets the object.- Returns:
- the object
-
setObject
public void setObject(byte[] param) Sets the object.- Parameters:
param- the new object
-
hashCode
-
equals
-