Class ConditionDciInfo

java.lang.Object
org.netxms.client.datacollection.ConditionDciInfo
All Implemented Interfaces:
NodeItemPair

public class ConditionDciInfo extends Object implements NodeItemPair
DCI information used in condition objects
  • Constructor Details

    • ConditionDciInfo

      public ConditionDciInfo(long nodeId, long dciId, int type, int function, int polls)
      Parameters:
      nodeId - The node id
      dciId - The dci id
      type - The type
      function - The function
      polls - The polls
    • ConditionDciInfo

      public ConditionDciInfo(NXCPMessage msg, long baseId)
      Create DCI information from NXCP message
      Parameters:
      msg - The NXCPMessage
      baseId - The base id
    • ConditionDciInfo

      public ConditionDciInfo(ConditionDciInfo src)
      Copy constructor
      Parameters:
      src - source object
  • Method Details

    • getNodeId

      public long getNodeId()
      Description copied from interface: NodeItemPair
      Get node ID
      Specified by:
      getNodeId in interface NodeItemPair
      Returns:
      the nodeId
    • getDciId

      public long getDciId()
      Description copied from interface: NodeItemPair
      Get DCI id
      Specified by:
      getDciId in interface NodeItemPair
      Returns:
      the dciId
    • getType

      public int getType()
      Returns:
      the type
    • getFunction

      public int getFunction()
      Returns:
      the function
    • getPolls

      public int getPolls()
      Returns:
      the polls
    • setFunction

      public void setFunction(int function)
      Parameters:
      function - the function to set
    • setPolls

      public void setPolls(int polls)
      Parameters:
      polls - the polls to set