Package org.netxms.client.datacollection
Class GraphItem
- java.lang.Object
-
- org.netxms.client.datacollection.GraphItem
-
public class GraphItem extends Object
This class represents single graph item (DCI)
-
-
Constructor Summary
Constructors Constructor Description GraphItem()Create graph item object with default valuesGraphItem(long nodeId, long dciId, int source, DataType dataType, String name, String description, String displayFormat)Constructor for ITEM typeGraphItem(long nodeId, long dciId, int source, DataType dataType, String name, String description, String displayFormat, String instance, String dataColumn)Constructor for TABLE type
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDataColumn()DataTypegetDataType()longgetDciId()StringgetDescription()StringgetDisplayFormat()StringgetInstance()StringgetName()longgetNodeId()intgetSource()intgetType()voidsetDataColumn(String dataColumn)voidsetDataType(DataType dataType)voidsetDciId(long dciId)voidsetDescription(String description)voidsetDisplayFormat(String displayFormat)voidsetInstance(String instance)voidsetName(String name)voidsetNodeId(long nodeId)voidsetSource(int source)voidsetType(int type)
-
-
-
Constructor Detail
-
GraphItem
public GraphItem()
Create graph item object with default values
-
GraphItem
public GraphItem(long nodeId, long dciId, int source, DataType dataType, String name, String description, String displayFormat)Constructor for ITEM type- Parameters:
nodeId- The node IDdciId- The dci IDsource- The sourcedataType- The data typename- The namedescription- The descriptiondisplayFormat- The display format
-
GraphItem
public GraphItem(long nodeId, long dciId, int source, DataType dataType, String name, String description, String displayFormat, String instance, String dataColumn)Constructor for TABLE type- Parameters:
nodeId- The node IDdciId- The dci IDsource- The sourcedataType- The data typename- The namedescription- The descriptiondisplayFormat- The display formatinstance- The instancedataColumn- The data column
-
-
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 DataType getDataType()
- Returns:
- the dataType
-
setDataType
public void setDataType(DataType dataType)
- Parameters:
dataType- the dataType to set
-
getName
public String getName()
- Returns:
- the name
-
setName
public void setName(String name)
- Parameters:
name- the name to set
-
getDescription
public String getDescription()
- Returns:
- the description
-
setDescription
public void setDescription(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 String getDataColumn()
- Returns:
- the dataColumn
-
setDataColumn
public void setDataColumn(String dataColumn)
- Parameters:
dataColumn- the dataColumn to set
-
getInstance
public String getInstance()
- Returns:
- the instance
-
setInstance
public void setInstance(String instance)
- Parameters:
instance- the instance to set
-
getDisplayFormat
public String getDisplayFormat()
- Returns:
- the displayFormat
-
setDisplayFormat
public void setDisplayFormat(String displayFormat)
- Parameters:
displayFormat- the displayFormat to set
-
-