public class MapDCIInstance extends Object
Constructor and Description |
---|
MapDCIInstance(long dciID,
long nodeID,
int type,
String mapId)
Constructor for MapDCIInstance for simple DCI
|
MapDCIInstance(long dciID,
long nodeID,
String column,
String instance,
int type,
String mapId)
Constructor for MapDCIInstance for table DCI
|
Modifier and Type | Method and Description |
---|---|
void |
addMap(String id) |
boolean |
equals(Object object) |
void |
fillMessage(org.netxms.base.NXCPMessage msg,
long base)
This method fills message with data if all required data present.
|
String |
getColumn() |
long |
getDciID() |
String |
getInstance() |
long |
getNodeID() |
int |
getType() |
int |
hashCode() |
boolean |
removeMap(String id) |
void |
setColumn(String column) |
void |
setDciID(long dciID) |
void |
setInstance(String instance) |
void |
setNodeID(long nodeID) |
void |
setType(int type) |
public MapDCIInstance(long dciID, long nodeID, String column, String instance, int type, String mapId)
dciID
- id of required DCInodeID
- id of associated node. Is collected to fully fill DciValue instancescolumn
- column if DCI is a table DCIinstance
- instance if DCI is a table DCItype
- type of DCIpublic MapDCIInstance(long dciID, long nodeID, int type, String mapId)
dciID
- id of required DCInodeID
- id of associated node. Is collected to fully fill DciValue instancestype
- type of DCIpublic String getColumn()
public void setColumn(String column)
column
- the column to setpublic String getInstance()
public void setInstance(String instance)
instance
- the instance to setpublic long getDciID()
public void setDciID(long dciID)
dciID
- the dciID to setpublic int getType()
public void setType(int type)
type
- the type to setpublic long getNodeID()
public void setNodeID(long nodeID)
nodeID
- the nodeID to setpublic void fillMessage(org.netxms.base.NXCPMessage msg, long base)
msg
- Message that should be populated with database
- the base of this datapublic void addMap(String id)
id
- public boolean removeMap(String id)
id
- Copyright © 2016. All rights reserved.