Package org.netxms.client.datacollection
Class DciLastValue
java.lang.Object
org.netxms.client.datacollection.DciLastValue
Generic last value for single valued or table DCI.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet data originGet data type for single value DCIint
Get DCI type (table or single valued).Get raw value of single value DCIGet value of table DCIGet timestamp for this valuegetValue()
Get value of single value DCI
-
Constructor Details
-
DciLastValue
Create from NXCP message- Parameters:
msg
- NXCP message
-
-
Method Details
-
getDciType
public int getDciType()Get DCI type (table or single valued). Will return eitherDataCollectionObject.DCO_TYPE_ITEM
orDataCollectionObject.DCO_TYPE_TABLE
.- Returns:
- DCI type
-
getDataOrigin
Get data origin- Returns:
- data origin
-
getTimestamp
Get timestamp for this value- Returns:
- timestamp for this value
-
getDataType
Get data type for single value DCI- Returns:
- data type for single value DCI or null for table DCI
-
getValue
Get value of single value DCI- Returns:
- value of single value DCI or null for table DCI
-
getRawValue
Get raw value of single value DCI- Returns:
- raw value of single value DCI or null for table DCI
-
getTableValue
Get value of table DCI- Returns:
- table DCI value or null for single value DCI
-