Package org.netxms.client.datacollection
Class DciSummaryTable
- java.lang.Object
-
- org.netxms.client.datacollection.DciSummaryTable
-
public class DciSummaryTable extends Object
DCI summary table
-
-
Field Summary
Fields Modifier and Type Field Description static intMULTI_INSTANCEstatic intTABLE_DCI_SOURCE
-
Constructor Summary
Constructors Constructor Description DciSummaryTable(String menuPath, String title)Create new empty summary table object for single valued DCIsDciSummaryTable(String menuPath, String title, boolean isTableSource)Create new empty summary table objectDciSummaryTable(org.netxms.base.NXCPMessage msg)Create full object from NXCP message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfillMessage(org.netxms.base.NXCPMessage msg)Fill NXCP message with object dataList<DciSummaryTableColumn>getColumns()intgetFlags()UUIDgetGuid()intgetId()StringgetMenuPath()StringgetNodeFilter()StringgetTableDciName()Return table dci nameStringgetTitle()booleanisMultiInstance()Check if summary table is multi-instancebooleanisTableSoure()Check if source is table DCIvoidsetFlags(int flags)voidsetId(int id)voidsetMenuPath(String menuPath)voidsetNodeFilter(String nodeFilter)voidsetTableDciName(String name)Set table dci namevoidsetTitle(String title)
-
-
-
Field Detail
-
MULTI_INSTANCE
public static final int MULTI_INSTANCE
- See Also:
- Constant Field Values
-
TABLE_DCI_SOURCE
public static final int TABLE_DCI_SOURCE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DciSummaryTable
public DciSummaryTable(String menuPath, String title, boolean isTableSource)
Create new empty summary table object- Parameters:
menuPath- The menu pathtitle- The titleisTableSource- true if summary table's source is table DCIs
-
DciSummaryTable
public DciSummaryTable(String menuPath, String title)
Create new empty summary table object for single valued DCIs- Parameters:
menuPath- The menu pathtitle- The title
-
DciSummaryTable
public DciSummaryTable(org.netxms.base.NXCPMessage msg)
Create full object from NXCP message.- Parameters:
msg- message with object from the server
-
-
Method Detail
-
fillMessage
public void fillMessage(org.netxms.base.NXCPMessage msg)
Fill NXCP message with object data- Parameters:
msg- NXCP message
-
getId
public int getId()
- Returns:
- the id
-
setId
public void setId(int id)
- Parameters:
id- the id to set
-
getGuid
public UUID getGuid()
- Returns:
- the guid
-
getMenuPath
public String getMenuPath()
- Returns:
- the menuPath
-
setMenuPath
public void setMenuPath(String menuPath)
- Parameters:
menuPath- the menuPath to set
-
getTitle
public String getTitle()
- Returns:
- the title
-
setTitle
public void setTitle(String title)
- Parameters:
title- the title to set
-
getFlags
public int getFlags()
- Returns:
- the flags
-
setFlags
public void setFlags(int flags)
- Parameters:
flags- the flags to set
-
getNodeFilter
public String getNodeFilter()
- Returns:
- the nodeFilter
-
setNodeFilter
public void setNodeFilter(String nodeFilter)
- Parameters:
nodeFilter- the nodeFilter to set
-
getColumns
public List<DciSummaryTableColumn> getColumns()
- Returns:
- the columns
-
isMultiInstance
public boolean isMultiInstance()
Check if summary table is multi-instance- Returns:
- true if summary table is multi-instance
-
isTableSoure
public boolean isTableSoure()
Check if source is table DCI- Returns:
- true if source is table DCI
-
getTableDciName
public String getTableDciName()
Return table dci name- Returns:
- table dci name if set
-
setTableDciName
public void setTableDciName(String name)
Set table dci name- Parameters:
name- of table DCI
-
-