Class MonitoringHistory

java.lang.Object
ecmwf.common.database.DataBaseObject
ecmwf.common.database.MonitoringHistory
All Implemented Interfaces:
Serializable, Cloneable

public class MonitoringHistory extends DataBaseObject
The Class MonitoringHistory.
See Also:
  • Field Details

    • MOH_KEY

      protected String MOH_KEY
      The moh key.
    • MOH_TIME

      protected BigDecimal MOH_TIME
      The moh time.
    • MOH_METADATA

      protected String MOH_METADATA
      The moh metadata.
    • MOH_OBJECT

      protected byte[] MOH_OBJECT
      The moh object.
  • Constructor Details

    • MonitoringHistory

      public MonitoringHistory()
      Instantiates a new monitoring history.
    • MonitoringHistory

      public MonitoringHistory(Timestamp time, String key)
      Instantiates a new monitoring history.
      Parameters:
      time - the time
      key - the key
  • Method Details

    • getKey

      public String getKey()
      Gets the key.
      Returns:
      the key
    • setKey

      public void setKey(String param)
      Sets the key.
      Parameters:
      param - the new key
    • getMetadata

      public String getMetadata()
      Gets the metadata.
      Returns:
      the metadata
    • setMetadata

      public void setMetadata(String param)
      Sets the metadata.
      Parameters:
      param - the new metadata
    • getTime

      public Timestamp getTime()
      Gets the time.
      Returns:
      the time
    • setTime

      public void setTime(Timestamp param)
      Sets the time.
      Parameters:
      param - the new time
    • 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

      public int hashCode()
      Hash code.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Equals.
      Overrides:
      equals in class Object