org.netxms.client.datacollection
Class DataCollectionItem
java.lang.Object
org.netxms.client.datacollection.DataCollectionObject
org.netxms.client.datacollection.DataCollectionItem
public class DataCollectionItem
- extends DataCollectionObject
Data Collection Item representation
Fields inherited from class org.netxms.client.datacollection.DataCollectionObject |
ACTIVE, AGENT, CHECKPOINT_SNMP, DCF_ADVANCED_SCHEDULE, DCO_TYPE_GENERIC, DCO_TYPE_ITEM, DCO_TYPE_TABLE, description, DISABLED, DT_FLOAT, DT_INT, DT_INT64, DT_NULL, DT_STRING, DT_UINT, DT_UINT64, flags, id, INTERNAL, name, NOT_SUPPORTED, origin, owner, perfTabSettings, pollingInterval, proxyNode, PUSH, resourceId, retentionTime, schedules, SNMP, snmpPort, status, systemTag, templateId |
Methods inherited from class org.netxms.client.datacollection.DataCollectionObject |
getDescription, getFlags, getId, getName, getNodeId, getOrigin, getOwner, getPerfTabSettings, getPollingInterval, getProxyNode, getResourceId, getRetentionTime, getSchedules, getSnmpPort, getStatus, getSystemTag, getTemplateId, isUseAdvancedSchedule, setDescription, setFlags, setName, setOrigin, setPerfTabSettings, setPollingInterval, setProxyNode, setResourceId, setRetentionTime, setSchedules, setSnmpPort, setStatus, setSystemTag, setTemplateId, setUseAdvancedSchedule |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DCF_ALL_THRESHOLDS
public static final int DCF_ALL_THRESHOLDS
- See Also:
- Constant Field Values
DCF_RAW_VALUE_OCTET_STRING
public static final int DCF_RAW_VALUE_OCTET_STRING
- See Also:
- Constant Field Values
DELTA_NONE
public static final int DELTA_NONE
- See Also:
- Constant Field Values
DELTA_SIMPLE
public static final int DELTA_SIMPLE
- See Also:
- Constant Field Values
DELTA_AVERAGE_PER_SECOND
public static final int DELTA_AVERAGE_PER_SECOND
- See Also:
- Constant Field Values
DELTA_AVERAGE_PER_MINUTE
public static final int DELTA_AVERAGE_PER_MINUTE
- See Also:
- Constant Field Values
SNMP_RAWTYPE_NONE
public static final int SNMP_RAWTYPE_NONE
- See Also:
- Constant Field Values
SNMP_RAWTYPE_INT32
public static final int SNMP_RAWTYPE_INT32
- See Also:
- Constant Field Values
SNMP_RAWTYPE_UINT32
public static final int SNMP_RAWTYPE_UINT32
- See Also:
- Constant Field Values
SNMP_RAWTYPE_INT64
public static final int SNMP_RAWTYPE_INT64
- See Also:
- Constant Field Values
SNMP_RAWTYPE_UINT64
public static final int SNMP_RAWTYPE_UINT64
- See Also:
- Constant Field Values
SNMP_RAWTYPE_DOUBLE
public static final int SNMP_RAWTYPE_DOUBLE
- See Also:
- Constant Field Values
SNMP_RAWTYPE_IP_ADDR
public static final int SNMP_RAWTYPE_IP_ADDR
- See Also:
- Constant Field Values
SNMP_RAWTYPE_MAC_ADDR
public static final int SNMP_RAWTYPE_MAC_ADDR
- See Also:
- Constant Field Values
DataCollectionItem
protected DataCollectionItem(DataCollectionConfiguration owner,
NXCPMessage msg)
- Create data collection item object from NXCP message
- Parameters:
owner
- Owning configuration objectmsg
- NXCP message
DataCollectionItem
protected DataCollectionItem(DataCollectionConfiguration owner,
long id)
- Constructor for new data collection items.
- Parameters:
owner
- Owning configuration objectid
- Identifier assigned to new item
fillMessage
public void fillMessage(NXCPMessage msg)
- Fill NXCP message with item's data.
- Overrides:
fillMessage
in class DataCollectionObject
- Parameters:
msg
- NXCP message
getDataType
public int getDataType()
- Returns:
- the dataType
setDataType
public void setDataType(int dataType)
- Parameters:
dataType
- the dataType to set
getDeltaCalculation
public int getDeltaCalculation()
- Returns:
- the deltaCalculation
setDeltaCalculation
public void setDeltaCalculation(int deltaCalculation)
- Parameters:
deltaCalculation
- the deltaCalculation to set
isProcessAllThresholds
public boolean isProcessAllThresholds()
- Returns:
- the processAllThresholds
setProcessAllThresholds
public void setProcessAllThresholds(boolean processAllThresholds)
- Parameters:
processAllThresholds
- the processAllThresholds to set
isSnmpRawValueInOctetString
public boolean isSnmpRawValueInOctetString()
- Returns:
- State of DCF_RAW_VALUE_OCTET_STRING flag
setSnmpRawValueInOctetString
public void setSnmpRawValueInOctetString(boolean enable)
- Set state of DCF_RAW_VALUE_OCTET_STRING flag
- Parameters:
enable
-
getTransformationScript
public java.lang.String getTransformationScript()
- Returns:
- the transformationScript
setTransformationScript
public void setTransformationScript(java.lang.String transformationScript)
- Parameters:
transformationScript
- the transformationScript to set
getInstance
public java.lang.String getInstance()
- Returns:
- the instance
setInstance
public void setInstance(java.lang.String instance)
- Parameters:
instance
- the instance to set
getBaseUnits
public int getBaseUnits()
- Returns:
- the baseUnits
setBaseUnits
public void setBaseUnits(int baseUnits)
- Parameters:
baseUnits
- the baseUnits to set
getMultiplier
public int getMultiplier()
- Returns:
- the multiplier
setMultiplier
public void setMultiplier(int multiplier)
- Parameters:
multiplier
- the multiplier to set
getCustomUnitName
public java.lang.String getCustomUnitName()
- Returns:
- the customUnitName
setCustomUnitName
public void setCustomUnitName(java.lang.String customUnitName)
- Parameters:
customUnitName
- the customUnitName to set
getThresholds
public java.util.ArrayList<Threshold> getThresholds()
- Returns:
- the thresholds
getSnmpRawValueType
public int getSnmpRawValueType()
- Returns:
- the snmpRawValueType
setSnmpRawValueType
public void setSnmpRawValueType(int snmpRawValueType)
- Parameters:
snmpRawValueType
- the snmpRawValueType to set
Copyright © 2012. All Rights Reserved.