public class NetworkMapResource extends NetworkMapElement
Modifier and Type | Field and Description |
---|---|
static int |
CLUSTER_RESOURCE |
id, MAP_ELEMENT_DCI_CONTAINER, MAP_ELEMENT_DCI_IMAGE, MAP_ELEMENT_DECORATION, MAP_ELEMENT_GENERIC, MAP_ELEMENT_OBJECT, x, y
Constructor and Description |
---|
NetworkMapResource(long id,
int type,
Object data) |
NetworkMapResource(org.netxms.base.NXCPMessage msg,
long baseId) |
Modifier and Type | Method and Description |
---|---|
void |
fillMessage(org.netxms.base.NXCPMessage msg,
long baseId)
Fill NXCP message with element data
|
Object |
getData() |
int |
getType() |
addFlag, createMapElement, equals, getFlags, getId, getX, getY, hashCode, removeFlag, setFlags, setLocation
public static final int CLUSTER_RESOURCE
public NetworkMapResource(org.netxms.base.NXCPMessage msg, long baseId)
msg
- baseId
- public NetworkMapResource(long id, int type, Object data)
id
- public void fillMessage(org.netxms.base.NXCPMessage msg, long baseId)
NetworkMapElement
fillMessage
in class NetworkMapElement
msg
- NXCP messagebaseId
- base variable IDpublic int getType()
getType
in class NetworkMapElement
public Object getData()
Copyright © 2014. All rights reserved.