Class DciLastValue

java.lang.Object
org.netxms.client.datacollection.DciLastValue

public class DciLastValue extends Object
Generic last value for single valued or table DCI.
  • Constructor Details

    • DciLastValue

      public DciLastValue(NXCPMessage msg)
      Create from NXCP message
      Parameters:
      msg - NXCP message
  • Method Details

    • getDciType

      public int getDciType()
      Get DCI type (table or single valued). Will return either DataCollectionObject.DCO_TYPE_ITEM or DataCollectionObject.DCO_TYPE_TABLE.
      Returns:
      DCI type
    • getDataOrigin

      public DataOrigin getDataOrigin()
      Get data origin
      Returns:
      data origin
    • getTimestamp

      public Date getTimestamp()
      Get timestamp for this value
      Returns:
      timestamp for this value
    • getDataType

      public DataType getDataType()
      Get data type for single value DCI
      Returns:
      data type for single value DCI or null for table DCI
    • getValue

      public String getValue()
      Get value of single value DCI
      Returns:
      value of single value DCI or null for table DCI
    • getRawValue

      public String getRawValue()
      Get raw value of single value DCI
      Returns:
      raw value of single value DCI or null for table DCI
    • getTableValue

      public Table getTableValue()
      Get value of table DCI
      Returns:
      table DCI value or null for single value DCI