org.netxms.client.datacollection
Class GraphItem

java.lang.Object
  extended by org.netxms.client.datacollection.GraphItem

public class GraphItem
extends java.lang.Object

This class represents single graph item (DCI)


Constructor Summary
GraphItem()
          Create graph item object with default values
GraphItem(long nodeId, long dciId, int source, int dataType, java.lang.String name, java.lang.String description)
          Constructor for ITEM type
GraphItem(long nodeId, long dciId, int source, int dataType, java.lang.String name, java.lang.String description, java.lang.String instance, java.lang.String dataColumn)
          Constructor for TABLE type
 
Method Summary
 java.lang.String getDataColumn()
           
 int getDataType()
           
 long getDciId()
           
 java.lang.String getDescription()
           
 java.lang.String getInstance()
           
 java.lang.String getName()
           
 long getNodeId()
           
 int getSource()
           
 int getType()
           
 void setDataColumn(java.lang.String dataColumn)
           
 void setDataType(int dataType)
           
 void setDciId(long dciId)
           
 void setDescription(java.lang.String description)
           
 void setInstance(java.lang.String instance)
           
 void setName(java.lang.String name)
           
 void setNodeId(long nodeId)
           
 void setSource(int source)
           
 void setType(int type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphItem

public GraphItem()
Create graph item object with default values


GraphItem

public GraphItem(long nodeId,
                 long dciId,
                 int source,
                 int dataType,
                 java.lang.String name,
                 java.lang.String description)
Constructor for ITEM type

Parameters:
nodeId -
dciId -
source -
dataType -
name -
description -

GraphItem

public GraphItem(long nodeId,
                 long dciId,
                 int source,
                 int dataType,
                 java.lang.String name,
                 java.lang.String description,
                 java.lang.String instance,
                 java.lang.String dataColumn)
Constructor for TABLE type

Parameters:
nodeId -
dciId -
source -
dataType -
name -
description -
Method Detail

getNodeId

public long getNodeId()
Returns:
the nodeId

setNodeId

public void setNodeId(long nodeId)
Parameters:
nodeId - the nodeId to set

getDciId

public long getDciId()
Returns:
the dciId

setDciId

public void setDciId(long dciId)
Parameters:
dciId - the dciId to set

getSource

public int getSource()
Returns:
the source

setSource

public void setSource(int source)
Parameters:
source - the source to set

getDataType

public int getDataType()
Returns:
the dataType

setDataType

public void setDataType(int dataType)
Parameters:
dataType - the dataType to set

getName

public java.lang.String getName()
Returns:
the name

setName

public void setName(java.lang.String name)
Parameters:
name - the name to set

getDescription

public java.lang.String getDescription()
Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - the description to set

getType

public int getType()
Returns:
the type

setType

public void setType(int type)
Parameters:
type - the type to set

getDataColumn

public java.lang.String getDataColumn()
Returns:
the dataColumn

setDataColumn

public void setDataColumn(java.lang.String dataColumn)
Parameters:
dataColumn - the dataColumn 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


Copyright © 2013. All Rights Reserved.