org.netxms.client.maps.elements
Class NetworkMapResource

java.lang.Object
  extended by org.netxms.client.maps.elements.NetworkMapElement
      extended by org.netxms.client.maps.elements.NetworkMapResource

public class NetworkMapResource
extends NetworkMapElement

Resource (anything related to nodes but not NetXMS object - like cluster resources) displayed on map


Field Summary
static int CLUSTER_RESOURCE
           
 
Fields inherited from class org.netxms.client.maps.elements.NetworkMapElement
id, MAP_ELEMENT_DECORATION, MAP_ELEMENT_GENERIC, MAP_ELEMENT_OBJECT, x, y
 
Constructor Summary
NetworkMapResource(long id, int type, java.lang.Object data)
           
NetworkMapResource(NXCPMessage msg, long baseId)
           
 
Method Summary
 void fillMessage(NXCPMessage msg, long baseId)
          Fill NXCP message with element data
 java.lang.Object getData()
           
 int getType()
           
 
Methods inherited from class org.netxms.client.maps.elements.NetworkMapElement
createMapElement, equals, getId, getX, getY, hashCode, setLocation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLUSTER_RESOURCE

public static final int CLUSTER_RESOURCE
See Also:
Constant Field Values
Constructor Detail

NetworkMapResource

public NetworkMapResource(NXCPMessage msg,
                          long baseId)
Parameters:
msg -
baseId -

NetworkMapResource

public NetworkMapResource(long id,
                          int type,
                          java.lang.Object data)
Parameters:
id -
Method Detail

fillMessage

public void fillMessage(NXCPMessage msg,
                        long baseId)
Description copied from class: NetworkMapElement
Fill NXCP message with element data

Overrides:
fillMessage in class NetworkMapElement
Parameters:
msg - NXCP message
baseId - base variable ID

getType

public int getType()
Overrides:
getType in class NetworkMapElement
Returns:
the type

getData

public java.lang.Object getData()
Returns:
the data


Copyright © 2013. All Rights Reserved.