org.netxms.client.datacollection
Class DciValue
java.lang.Object
org.netxms.client.datacollection.DciValue
- Direct Known Subclasses:
- SimpleDciValue, TableDciValue
public abstract class DciValue
- extends java.lang.Object
DCI value
Constructor Summary |
protected |
DciValue(long nodeId,
NXCPMessage msg,
long base)
Constructor for creating DciValue from NXCP message |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DciValue
protected DciValue(long nodeId,
NXCPMessage msg,
long base)
- Constructor for creating DciValue from NXCP message
- Parameters:
nodeId
- owning node IDmsg
- NXCP messagebase
- Base variable ID for value object
createFromMessage
public static DciValue createFromMessage(long nodeId,
NXCPMessage msg,
long base)
- Factory method to create correct DciValue subclass from NXCP message.
- Parameters:
nodeId
- owning node IDmsg
- NXCP messagebase
- Base variable ID for value object
- Returns:
- DciValue object
getId
public long getId()
- Returns:
- the id
getName
public java.lang.String getName()
- Returns:
- the name
getDescription
public java.lang.String getDescription()
- Returns:
- the description
getValue
public java.lang.String getValue()
- Returns:
- the value
getSource
public int getSource()
- Returns:
- the source
getDataType
public int getDataType()
- Returns:
- the dataType
getStatus
public int getStatus()
- Returns:
- the status
getTimestamp
public java.util.Date getTimestamp()
- Returns:
- the timestamp
getNodeId
public long getNodeId()
- Returns:
- the nodeId
getActiveThreshold
public Threshold getActiveThreshold()
- Returns:
- the activeThreshold
getDcObjectType
public int getDcObjectType()
- Returns:
- the dcObjectType
getErrorCount
public int getErrorCount()
- Returns:
- the errorCount
getTemplateDciId
public final long getTemplateDciId()
- Returns:
- the templateDciId
Copyright © 2013. All Rights Reserved.