Package org.netxms.client.objects
Class NetworkMap
java.lang.Object
org.netxms.client.objects.AbstractObject
org.netxms.client.objects.GenericObject
org.netxms.client.objects.NetworkMap
- All Implemented Interfaces:
- AutoBindObject,- PollingTarget
Network map object
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final UUIDstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class org.netxms.client.objects.AbstractObjectaccessList, alias, assetId, ASSETS, backupZoneProxyId, BUSINESSSERVICEROOT, CALCULATE_DEFAULT, CALCULATE_MOST_CRITICAL, CALCULATE_MULTIPLE_THRESHOLDS, CALCULATE_SINGLE_THRESHOLD, categoryId, children, comments, commentsSource, CONTEXT, creationTime, customAttributes, DASHBOARDROOT, dashboards, drillDownObjectId, fixedPropagatedStatus, flags, geolocation, guid, inheritAccessRights, inMaintenanceMode, isDeleted, maintenanceInitiatorId, mapImage, MARKDOWN_COMMENTS_INDICATOR, moduleData, nameOnMap, NETWORK, NETWORKMAPROOT, OBJECT_ACCESSPOINT, OBJECT_ASSET, OBJECT_ASSETGROUP, OBJECT_ASSETROOT, OBJECT_BUSINESSSERVICE, OBJECT_BUSINESSSERVICEPROTOTYPE, OBJECT_BUSINESSSERVICEROOT, OBJECT_CHASSIS, OBJECT_CIRCUIT, OBJECT_CLUSTER, OBJECT_COLLECTOR, OBJECT_CONDITION, OBJECT_CONTAINER, OBJECT_CUSTOM, OBJECT_DASHBOARD, OBJECT_DASHBOARDGROUP, OBJECT_DASHBOARDROOT, OBJECT_DASHBOARDTEMPLATE, OBJECT_GENERIC, OBJECT_INTERFACE, OBJECT_MOBILEDEVICE, OBJECT_NETWORK, OBJECT_NETWORKMAP, OBJECT_NETWORKMAPGROUP, OBJECT_NETWORKMAPROOT, OBJECT_NETWORKSERVICE, OBJECT_NODE, OBJECT_RACK, OBJECT_SENSOR, OBJECT_SERVICEROOT, OBJECT_SUBNET, OBJECT_TEMPLATE, OBJECT_TEMPLATEGROUP, OBJECT_TEMPLATEROOT, OBJECT_VPNCONNECTOR, OBJECT_WIRELESSDOMAIN, OBJECT_ZONE, objectClass, objectId, objectName, parents, partialObject, pollStates, postalAddress, primaryZoneProxyId, PROPAGATE_DEFAULT, PROPAGATE_FIXED, PROPAGATE_RELATIVE, PROPAGATE_TRANSLATED, PROPAGATE_UNCHANGED, responsibleUsers, SERVICEROOT, session, status, statusCalculationMethod, statusPropagationMethod, statusShift, statusSingleThreshold, statusThresholds, statusTransformation, TEMPLATEROOT, trustedObjects, UNKNOWN, urls, ZONE0Fields inherited from interface org.netxms.client.objects.interfaces.AutoBindObjectOBJECT_BIND_FLAG, OBJECT_UNBIND_FLAG
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanIdentify if this object can have NetXMS agent.booleanIdentify if this object can have network interfaces.booleanIdentify if this object can have poller node property.booleanIdentify if this object can use EtherNet/IP for communications.booleanIdentify if this object can use Modbus for communications.Create map page from map object's dataGet agent cache mode.intintintintintintintfinal intintGet map's display priority if it should be shown as object view.intgetFlags()Get object flags.intintGet ifXTable usage policy.Get name of NetXMS object's class.longGet poller node ID.Get poll states.Get all strings in objectintgetWidth()booleanIf this method returns true object is allowed to be on custom network map.booleanbooleanbooleanReturns the MF_CALCULATE_STATUS flag statusbooleanReturns the MF_CENTER_BKGND_IMAGE flag statusbooleanReturns the MF_DONT_UPDATE_LINK_TEXT flag statusbooleanbooleanReturns the MF_FIT_TO_SCREEN flag statusbooleanReturns the MF_SHOW_END_NODES flag statusbooleanReturns the MF_SHOW_LINK_DIRECTION flag statusbooleanReturns the MF_SHOW_STATUS_BKGND flag statusbooleanReturns the MF_SHOW_STATUS_FRAME flag statusbooleanReturns the MF_SHOW_STATUS_ICON flag statusbooleanReturns the MF_TRANSLUCENT_LABEL_BKGND flag statusbooleanCheck if last map update failed.voidPrepare object creation and modification data to create map copyvoidUpdate modification data with template fields form this mapMethods inherited from class org.netxms.client.objects.AbstractObjectaddString, areChildrenSynchronized, getAccessList, getAlias, getAllChildren, getAllChildren, getAllParents, getAllParents, getAssetId, getBackupZoneProxyId, getCategory, getCategoryId, getChildCount, getChildIdList, getChildren, getChildrenAsArray, getComments, getCommentsSource, getConfiguredNameOnMap, getCreationTime, getCustomAttribute, getCustomAttributes, getCustomAttributeValue, getCustomAttributeValueAsBoolean, getDashboardIdentifiers, getDashboards, getDrillDownObjectId, getEffectiveRights, getFixedPropagatedStatus, getGeolocation, getGuid, getIcon, getMaintenanceInitiatorId, getMapImage, getModuleData, getNameOnMap, getNameWithAlias, getNetworkMaps, getObjectClass, getObjectId, getObjectName, getObjectNameWithPath, getParentChain, getParentCount, getParentIdList, getParents, getParentsAsArray, getPostalAddress, getPrimaryZoneProxyId, getResponsibleUsers, getStatus, getStatusCalculationMethod, getStatusPropagationMethod, getStatusShift, getStatusSingleThreshold, getStatusThresholds, getStatusTransformation, getTrustedObjects, getUrls, hasAccessibleChildren, hasAccessibleParents, hasAccessibleViewParents, hasChildren, hasCustomAttribute, hasDashboard, hashCode, hasNetworkMap, hasParents, hasUrls, isAlarmsVisible, isChildOf, isChildOf, isDefaultImage, isDeleted, isDirectChildOf, isDirectParentOf, isInheritAccessRights, isInMaintenanceMode, isParentOf, isParentOf, isPartialObject, setSessionMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.netxms.client.objects.interfaces.PollingTargetgetObjectId, getObjectName
- 
Field Details- 
GEOMAP_BACKGROUND
- 
MF_SHOW_STATUS_ICONpublic static final int MF_SHOW_STATUS_ICON- See Also:
 
- 
MF_SHOW_STATUS_FRAMEpublic static final int MF_SHOW_STATUS_FRAME- See Also:
 
- 
MF_SHOW_STATUS_BKGNDpublic static final int MF_SHOW_STATUS_BKGND- See Also:
 
- 
MF_SHOW_END_NODESpublic static final int MF_SHOW_END_NODES- See Also:
 
- 
MF_CALCULATE_STATUSpublic static final int MF_CALCULATE_STATUS- See Also:
 
- 
MF_FILTER_OBJECTSpublic static final int MF_FILTER_OBJECTS- See Also:
 
- 
MF_SHOW_LINK_DIRECTIONpublic static final int MF_SHOW_LINK_DIRECTION- See Also:
 
- 
MF_USE_L1_TOPOLOGYpublic static final int MF_USE_L1_TOPOLOGY- See Also:
 
- 
MF_CENTER_BKGND_IMAGEpublic static final int MF_CENTER_BKGND_IMAGE- See Also:
 
- 
MF_TRANSLUCENT_LABEL_BKGNDpublic static final int MF_TRANSLUCENT_LABEL_BKGND- See Also:
 
- 
MF_DONT_UPDATE_LINK_TEXTpublic static final int MF_DONT_UPDATE_LINK_TEXT- See Also:
 
- 
MF_FIT_BKGND_IMAGEpublic static final int MF_FIT_BKGND_IMAGE- See Also:
 
- 
MF_FIT_TO_SCREENpublic static final int MF_FIT_TO_SCREEN- See Also:
 
- 
MF_SHOW_AS_OBJECT_VIEWpublic static final int MF_SHOW_AS_OBJECT_VIEW- See Also:
 
- 
MF_SHOW_TRAFFICpublic static final int MF_SHOW_TRAFFIC- See Also:
 
- 
MF_BKGND_IMAGE_FLAGSpublic static final int MF_BKGND_IMAGE_FLAGS- See Also:
 
 
- 
- 
Constructor Details- 
NetworkMapCreate from NXCP message.- Parameters:
- msg- NXCP message
- session- owning client session
 
 
- 
- 
Method Details- 
prepareCopyPrepare object creation and modification data to create map copy- Parameters:
- cd- object creation data
- md- object modification data
 
- 
getObjectClassNameDescription copied from class:AbstractObjectGet name of NetXMS object's class.- Overrides:
- getObjectClassNamein class- AbstractObject
- Returns:
- Name of NetXMS object's class
- See Also:
 
- 
isAllowedOnMappublic boolean isAllowedOnMap()Description copied from class:AbstractObjectIf this method returns true object is allowed to be on custom network map. Default implementation always returns false.- Overrides:
- isAllowedOnMapin class- AbstractObject
- Returns:
- true if object is allowed to be on custom network map
- See Also:
 
- 
getMapType- Returns:
- the mapType
 
- 
getLayout- Returns:
- the layout
 
- 
getBackground- Returns:
- the background
 
- 
getSeedObjects- Returns:
- the seedObjectIds
 
- 
createMapPageCreate map page from map object's data- Returns:
- new map page
 
- 
getBackgroundLocation- Returns:
- the backgroundLocation
 
- 
getBackgroundZoompublic int getBackgroundZoom()- Returns:
- the backgroundZoom
 
- 
getFlagspublic int getFlags()Description copied from interface:PollingTargetGet object flags.- Specified by:
- getFlagsin interface- PollingTarget
- Returns:
- object flags
- See Also:
 
- 
getDefaultLinkColorpublic int getDefaultLinkColor()- Returns:
- the defaultLinkColor
 
- 
getDefaultLinkRoutingpublic int getDefaultLinkRouting()- Returns:
- the defaultLinkRouting
 
- 
getDefaultLinkWidthpublic int getDefaultLinkWidth()- Returns:
- the defaultLinkWidth
 
- 
getDefaultLinkStylepublic int getDefaultLinkStyle()- Returns:
- the defaultLinkStyle
 
- 
getBackgroundColorpublic int getBackgroundColor()- Returns:
- the backgroundColor
 
- 
getDiscoveryRadiuspublic final int getDiscoveryRadius()- Returns:
- the discoveryRadius
 
- 
getFilter- Returns:
- the filter
 
- 
getLinkStylingScript- Returns:
- the updateLinkScript
 
- 
getObjectDisplayMode- Returns:
- the objectDisplayMode
 
- 
getStringsDescription copied from class:AbstractObjectGet all strings in object- Overrides:
- getStringsin class- AbstractObject
- Returns:
- set of all strings in object
- See Also:
 
- 
isShowStatusIconpublic boolean isShowStatusIcon()Returns the MF_SHOW_STATUS_ICON flag status- Returns:
- true if MF_SHOW_STATUS_ICON flag is set
 
- 
isShowStatusFramepublic boolean isShowStatusFrame()Returns the MF_SHOW_STATUS_FRAME flag status- Returns:
- true if MF_SHOW_STATUS_FRAME flag is set
 
- 
isShowStatusBackgroundpublic boolean isShowStatusBackground()Returns the MF_SHOW_STATUS_BKGND flag status- Returns:
- true if MF_SHOW_STATUS_BKGND flag is set
 
- 
isShowEndNodespublic boolean isShowEndNodes()Returns the MF_SHOW_END_NODES flag status- Returns:
- true if MF_SHOW_END_NODES flag is set
 
- 
isShowLinkDirectionpublic boolean isShowLinkDirection()Returns the MF_SHOW_LINK_DIRECTION flag status- Returns:
- true if MF_SHOW_LINK_DIRECTION flag is set
 
- 
isCalculateStatuspublic boolean isCalculateStatus()Returns the MF_CALCULATE_STATUS flag status- Returns:
- true if MF_CALCULATE_STATUS flag is set
 
- 
isCenterBackgroundImagepublic boolean isCenterBackgroundImage()Returns the MF_CENTER_BKGND_IMAGE flag status- Returns:
- true if MF_CENTER_BKGND_IMAGE flag is set
 
- 
isTranslucentLabelBackgroundpublic boolean isTranslucentLabelBackground()Returns the MF_TRANSLUCENT_LABEL_BKGND flag status- Returns:
- true if MF_TRANSLUCENT_LABEL_BKGND flag is set
 
- 
isDontUpdateLinkTextpublic boolean isDontUpdateLinkText()Returns the MF_DONT_UPDATE_LINK_TEXT flag status- Returns:
- true if MF_DONT_UPDATE_LINK_TEXT flag is set
 
- 
isFitBackgroundImagepublic boolean isFitBackgroundImage()- Returns:
- true if background image should fit map size
 
- 
isFitToScreenpublic boolean isFitToScreen()Returns the MF_FIT_TO_SCREEN flag status- Returns:
- true if MF_FIT_TO_SCREEN flag is set
 
- 
getWidthpublic int getWidth()- Returns:
- the mapWidth
 
- 
getHeightpublic int getHeight()- Returns:
- the mapHeight
 
- 
getDisplayPrioritypublic int getDisplayPriority()Get map's display priority if it should be shown as object view.- Returns:
- map's display priority
 
- 
isUpdateFailedpublic boolean isUpdateFailed()Check if last map update failed.- Returns:
- true if last map update failed
 
- 
updateWithTemplateDataUpdate modification data with template fields form this map- Parameters:
- md- modification data
 
- 
getIfXTablePolicypublic int getIfXTablePolicy()Description copied from interface:PollingTargetGet ifXTable usage policy.- Specified by:
- getIfXTablePolicyin interface- PollingTarget
- Returns:
- ifXTable usage policy
- See Also:
 
- 
getAgentCacheModeDescription copied from interface:PollingTargetGet agent cache mode.- Specified by:
- getAgentCacheModein interface- PollingTarget
- Returns:
- agent cache mode
- See Also:
 
- 
getPollerNodeIdpublic long getPollerNodeId()Description copied from interface:PollingTargetGet poller node ID.- Specified by:
- getPollerNodeIdin interface- PollingTarget
- Returns:
- poller node ID or 0 if object cannot have poler node
- See Also:
 
- 
canHaveAgentpublic boolean canHaveAgent()Description copied from interface:PollingTargetIdentify if this object can have NetXMS agent.- Specified by:
- canHaveAgentin interface- PollingTarget
- Returns:
- true if this object can have NetXMS agent
- See Also:
 
- 
canHaveInterfacespublic boolean canHaveInterfaces()Description copied from interface:PollingTargetIdentify if this object can have network interfaces.- Specified by:
- canHaveInterfacesin interface- PollingTarget
- Returns:
- true if this object can have network interfaces
- See Also:
 
- 
canHavePollerNodepublic boolean canHavePollerNode()Description copied from interface:PollingTargetIdentify if this object can have poller node property.- Specified by:
- canHavePollerNodein interface- PollingTarget
- Returns:
- true if this object can have poller node property
- See Also:
 
- 
canUseEtherNetIPpublic boolean canUseEtherNetIP()Description copied from interface:PollingTargetIdentify if this object can use EtherNet/IP for communications.- Specified by:
- canUseEtherNetIPin interface- PollingTarget
- Returns:
- true if this object can use EtherNet/IP for communications
- See Also:
 
- 
canUseModbuspublic boolean canUseModbus()Description copied from interface:PollingTargetIdentify if this object can use Modbus for communications.- Specified by:
- canUseModbusin interface- PollingTarget
- Returns:
- true if this object can use Modbus for communications
- See Also:
 
- 
getPollStatesDescription copied from interface:PollingTargetGet poll states.- Specified by:
- getPollStatesin interface- PollingTarget
- Returns:
- array of poll states or null if object doesn't have any
- See Also:
 
- 
isAutoBindEnabledpublic boolean isAutoBindEnabled()- Specified by:
- isAutoBindEnabledin interface- AutoBindObject
- Returns:
- true if automatic bind is enabled
- See Also:
 
- 
isAutoUnbindEnabledpublic boolean isAutoUnbindEnabled()- Specified by:
- isAutoUnbindEnabledin interface- AutoBindObject
- Returns:
- true if automatic unbind is enabled
- See Also:
 
- 
getAutoBindFilter- Specified by:
- getAutoBindFilterin interface- AutoBindObject
- Returns:
- Filter script for automatic bind
- See Also:
 
- 
getAutoBindFlagspublic int getAutoBindFlags()- Specified by:
- getAutoBindFlagsin interface- AutoBindObject
- Returns:
- auto bind flags
- See Also:
 
 
-