org.netxms.client.datacollection
Class GraphItem
java.lang.Object
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 which sets all fields |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 which sets all fields
- Parameters:
nodeId - dciId - source - dataType - name - description -
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
Copyright © 2011. All Rights Reserved.