Package org.netxms.client.datacollection
Class DciSummaryTable
java.lang.Object
org.netxms.client.datacollection.DciSummaryTable
DCI summary table
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionDciSummaryTable(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 objectCreate full object from NXCP message. -
Method Summary
Modifier and TypeMethodDescriptionvoidfillMessage(NXCPMessage msg) Fill NXCP message with object dataintgetFlags()getGuid()intgetId()Return table dci namegetTitle()booleanCheck if summary table is multi-instancebooleanCheck if source is table DCIvoidsetFlags(int flags) voidsetId(int id) voidsetMenuPath(String menuPath) voidsetNodeFilter(String nodeFilter) voidsetTableDciName(String name) Set table dci namevoid
-
Field Details
-
MULTI_INSTANCE
public static final int MULTI_INSTANCE- See Also:
-
TABLE_DCI_SOURCE
public static final int TABLE_DCI_SOURCE- See Also:
-
-
Constructor Details
-
DciSummaryTable
Create new empty summary table object- Parameters:
menuPath- The menu pathtitle- The titleisTableSource- true if summary table's source is table DCIs
-
DciSummaryTable
Create new empty summary table object for single valued DCIs- Parameters:
menuPath- The menu pathtitle- The title
-
DciSummaryTable
Create full object from NXCP message.- Parameters:
msg- message with object from the server
-
-
Method Details
-
fillMessage
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
- Returns:
- the guid
-
getMenuPath
- Returns:
- the menuPath
-
setMenuPath
- Parameters:
menuPath- the menuPath to set
-
getTitle
- Returns:
- the title
-
setTitle
- 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
- Returns:
- the nodeFilter
-
setNodeFilter
- Parameters:
nodeFilter- the nodeFilter to set
-
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
Return table dci name- Returns:
- table dci name if set
-
setTableDciName
Set table dci name- Parameters:
name- of table DCI
-