Package org.netxms.client
Class NXCObjectModificationData
java.lang.Object
org.netxms.client.NXCObjectModificationData
This class is used to hold data for NXCSession.modifyObject()
-
Constructor Summary
ConstructorsConstructorDescriptionNXCObjectModificationData(long objectId) Constructor for creating modification data for given object -
Method Summary
Modifier and TypeMethodDescriptiongetACL()Get agent cache modeGet agent compression modegetAlias()Get category ID.Get certificate mapping data.Get certificate mapping method.Get chassis placement configuration.Long[]final Integerlong[]Get geo areas for objectGet geolocation control modeGet ICMP statistic collection modeGet additional ICMP poll targetsfinal Stringfinal Stringfinal IntegerGet map image.getModel()Get MQTT proxy node IDgetName()Get object's name on network map.Get object flagsGet object flags masklongGet rack orientationLong[]int[]Long[]Get trusted objectsgetUrls()Get ID of web service proxy node.Long[]voidvoidsetActivationEvent(int activationEvent) voidsetActiveStatus(int activeStatus) voidsetAgentCacheMode(AgentCacheMode agentCacheMode) Set agent cache modevoidsetAgentCompressionMode(AgentCompressionMode agentCompressionMode) Set agent compression modevoidsetAgentPort(int agentPort) voidsetAgentProxy(long agentProxy) voidsetAgentSecret(String agentSecret) voidvoidsetAutoBindFilter(String autoBindFilter) voidsetAutoBindFilter2(String autoBindFilter2) voidsetAutoBindFlags(Integer autoBindFlags) voidsetCategoryId(int categoryId) Set category ID.voidsetCertificateMapping(CertificateMappingMethod method, String data) Set certificate mapping method and data.voidsetChassisId(long chassisId) voidsetChassisPlacement(String placementConfig) Set chassis placement informationvoidsetColumnCount(int columnCount) voidsetConnectionRouting(int connectionRouting) voidsetControllerId(long controllerId) voidsetCustomAttributes(Map<String, CustomAttribute> customAttributes) voidsetDashboardElements(Collection<DashboardElement> dashboardElements) voidsetDashboards(Long[] dashboards) voidsetDciList(List<ConditionDciInfo> dciList) voidsetDciStatusThreshold(Integer dciStatusThreshold) voidsetDeactivationEvent(int deactivationEvent) voidsetDeviceAddress(String deviceAddress) voidsetDeviceClass(SensorDeviceClass deviceClass) final voidsetDiscoveryRadius(int discoveryRadius) voidsetDisplayPriority(Integer displayPriority) voidsetDrillDownObjectId(long drillDownObjectId) voidsetEtherNetIPPort(int etherNetIPPort) voidsetEtherNetIPProxy(long etherNetIPProxy) voidsetExpectedCapabilities(Long expectedCapabilities) voidsetExpectedState(int expectedState) voidvoidsetFixedPropagatedStatus(ObjectStatus fixedPropagatedStatus) voidsetGeoAreas(long[] geoAreas) Set geo areas for objectvoidsetGeolocation(GeoLocation geolocation) voidsetGeoLocationControlMode(GeoLocationControlMode geoLocationControlMode) Set geolocation control modevoidsetHeight(int height) voidsetIcmpProxy(long icmpProxy) voidSet ICMP statistic collection modevoidsetIcmpTargets(Collection<InetAddress> icmpTargets) Set additional ICMP poll targetsvoidsetIfXTablePolicy(int ifXTablePolicy) voidsetInactiveStatus(int inactiveStatus) voidsetInheritAccessRights(boolean inheritAccessRights) final voidsetInstanceDiscoveryData(String instanceDiscoveryData) final voidsetInstanceDiscoveryFilter(String instanceDiscoveryFilter) final voidsetInstanceDiscoveryMethod(int instanceDiscoveryMethod) voidsetIpAddress(InetAddressEx ipAddress) voidsetIpPort(int ipPort) voidsetIpProtocol(int ipProtocol) voidsetLinkColor(int linkColor) voidsetLinkStylingScript(String linkStylingScript) voidsetMacAddress(MacAddress macAddress) voidsetMapBackground(UUID mapBackground, GeoLocation mapBackgroundLocation, int mapBackgroundZoom, int mapBackgroundColor) voidsetMapContent(Collection<NetworkMapElement> elements, Collection<NetworkMapLink> links) Set map contentsvoidsetMapImage(UUID image) Set new map imagevoidsetMapLayout(MapLayoutAlgorithm mapLayout) voidsetMapObjectDisplayMode(MapObjectDisplayMode mapObjectDisplayMode) voidsetMapSize(int width, int height) Set map size.voidsetMetaType(String metaType) voidsetModbusProxy(Long modbusProxy) voidsetModbusTcpPort(Integer modbusTcpPort) voidsetModbusUnitId(Short modbusUnitId) voidvoidsetMqttProxy(long mqttProxy) Set MQTT proxy node ID.voidvoidsetNameOnMap(String name) Set object's name on network map.voidsetNetworkList(List<InetAddressEx> networkList) voidsetNetworkMapLinkStyle(Integer networkMapLinkStyle) voidsetNetworkMapLinkWidth(Integer networkMapLinkWidth) voidsetObjectFlags(int objectFlags) Set object flagsvoidsetObjectFlags(int objectFlags, int objectFlagsMask) Set selected object flags.voidsetObjectId(long objectId) voidsetObjectStatusThreshold(Integer objectStatusThreshold) voidsetPassiveElements(List<PassiveRackElement> passiveElements) Set passive rack elements configurationvoidsetPeerGatewayId(long peerGatewayId) voidsetPhysicalContainer(long physicalContainerObjectId) Set physical container for object Will be set together with CHASSIS_PLACEMENT or RACK_PLACEMENT so no need to set fieldsvoidsetPollerNode(long pollerNode) voidsetPostalAddress(PostalAddress postalAddress) voidsetPrimaryIpAddress(InetAddress primaryIpAddress) voidsetPrimaryName(String primaryName) voidsetRackNumberingTopBottom(boolean rackNumberingTopBottom) voidsetRackPlacement(UUID rackImageFront, UUID rackImageRear, short rackPosition, short rackHeight, RackOrientation rackOrientation) Set rack placement datavoidsetReportDefinition(File file) Set report definition from file.voidsetReportDefinition(String reportDefinition) voidsetRequest(String request) voidsetRequiredPolls(int requiredPolls) voidsetResourceList(List<ClusterResource> resourceList) voidsetResponse(String response) voidsetResponsibleUsers(List<ResponsibleUser> responsibleUsers) Set responsible usersvoidvoidsetSeedObjectIds(List<Long> seedObjectIds) voidsetSensorProxy(long proxyNode) voidsetSerialNumber(String serialNumber) voidsetServiceType(int serviceType) voidsetSnmpAuthentication(String authName) Set SNMP authentication information - simplified version that can be used for setting SNMP v1/2 community string.voidsetSnmpAuthentication(String authName, int authMethod, String authPassword, int privMethod, String privPassword) Set SNMP authentication information.voidsetSNMPCodepage(String snmpCodepage) voidsetSnmpPort(int snmpPort) voidsetSnmpProxy(long snmpProxy) voidsetSnmpVersion(SnmpVersion snmpVersion) voidsetSourceNode(Long sourceNode) voidsetSourceObject(long sourceObject) voidsetSshKeyId(int sshKeyId) voidsetSshLogin(String sshLogin) voidsetSshPassword(String sshPassword) voidsetSshPort(int sshPort) voidsetSshProxy(long sshProxy) voidsetStatusCalculationMethod(int statusCalculationMethod) voidsetStatusPropagationMethod(int statusPropagationMethod) voidsetStatusShift(int statusShift) voidsetStatusSingleThreshold(int statusSingleThreshold) voidsetStatusThresholds(int[] statusThresholds) voidsetStatusTransformation(ObjectStatus[] statusTransformation) voidsetSyslogCodepage(String syslogCodepage) voidsetTrustedObjects(Long[] trustedObjects) Set trusted objectsvoidSet URL listvoidvoidsetVersion(int version) voidsetVncPassword(String vncPassword) voidsetVncPort(Integer vncPort) voidsetVncProxy(Long vncProxy) voidsetVpnNetworks(List<InetAddressEx> localNetworks, List<InetAddressEx> remoteNetworks) voidsetWebServiceProxy(long webServiceProxy) Set ID of web service proxy node.voidsetZoneProxies(Long[] zoneProxies)
-
Constructor Details
-
NXCObjectModificationData
public NXCObjectModificationData(long objectId) Constructor for creating modification data for given object- Parameters:
objectId- Object ID
-
-
Method Details
-
getObjectId
public long getObjectId()- Returns:
- the objectId
-
setObjectId
public void setObjectId(long objectId) - Parameters:
objectId- the objectId to set
-
getName
- Returns:
- the name
-
setName
- Parameters:
name- the name to set
-
getAlias
- Returns:
- the alias
-
setAlias
- Parameters:
alias- the alias to set
-
getNameOnMap
Get object's name on network map.- Returns:
- object's name on network map
-
setNameOnMap
Set object's name on network map. Set to empty string to use object's name.- Parameters:
name- new object's name on network map
-
getACL
- Returns:
- the acl
-
setACL
- Parameters:
acl- the acl to set
-
isInheritAccessRights
- Returns:
- the inheritAccessRights
-
setInheritAccessRights
public void setInheritAccessRights(boolean inheritAccessRights) - Parameters:
inheritAccessRights- the inheritAccessRights to set
-
getCustomAttributes
- Returns:
- the customAttributes
-
setCustomAttributes
- Parameters:
customAttributes- the customAttributes to set
-
getAutoBindFilter
- Returns:
- the autoApplyFilter
-
setAutoBindFilter
- Parameters:
autoBindFilter- the autoApplyFilter to set
-
getVersion
- Returns:
- the version
-
setVersion
public void setVersion(int version) - Parameters:
version- the version to set
-
getAgentPort
-
setAgentPort
public void setAgentPort(int agentPort) -
getAgentSecret
- Returns:
- the agentSecret
-
setAgentSecret
- Parameters:
agentSecret- the agentSecret to set
-
getAgentProxy
- Returns:
- the agentProxy
-
setAgentProxy
public void setAgentProxy(long agentProxy) - Parameters:
agentProxy- the agentProxy to set
-
getSnmpVersion
- Returns:
- the snmpVersion
-
setSnmpVersion
- Parameters:
snmpVersion- the snmpVersion to set
-
getSnmpAuthMethod
- Returns:
- the snmpAuthMethod
-
getSnmpPrivMethod
- Returns:
- the snmpPrivMethod
-
getSnmpAuthName
- Returns:
- the snmpAuthName
-
getSnmpAuthPassword
- Returns:
- the snmpAuthPassword
-
getSnmpPrivPassword
- Returns:
- the snmpPrivPassword
-
setSnmpAuthentication
public void setSnmpAuthentication(String authName, int authMethod, String authPassword, int privMethod, String privPassword) Set SNMP authentication information.- Parameters:
authName- authentication name (user name for SNMPv3 or community for SNMP v1/2)authMethod- SNMPv3 authentication methodauthPassword- SNMPv3 authentication passwordprivMethod- SNMPv3 encryption methodprivPassword- SNMPv3 encryption password
-
setSnmpAuthentication
Set SNMP authentication information - simplified version that can be used for setting SNMP v1/2 community string. Will set authentication and encryption passwords to empty strings and authentication and encryption methods to NONE.- Parameters:
authName- authentication name (user name for SNMPv3 or community for SNMP v1/2)
-
getSnmpProxy
- Returns:
- the snmpProxy
-
setSnmpProxy
public void setSnmpProxy(long snmpProxy) - Parameters:
snmpProxy- the snmpProxy to set
-
getMqttProxy
Get MQTT proxy node ID- Returns:
- MQTT proxy node ID
-
setMqttProxy
public void setMqttProxy(long mqttProxy) Set MQTT proxy node ID.- Parameters:
mqttProxy- MQTT proxy node ID
-
getIcmpProxy
- Returns:
- the icmpProxy
-
setIcmpProxy
public void setIcmpProxy(long icmpProxy) - Parameters:
icmpProxy- the icmpProxy to set
-
getWebServiceProxy
Get ID of web service proxy node.- Returns:
- ID of web service proxy node
-
setWebServiceProxy
public void setWebServiceProxy(long webServiceProxy) Set ID of web service proxy node.- Parameters:
webServiceProxy- ID of web service proxy node
-
getTrustedObjects
Get trusted objects- Returns:
- trusted object list
-
setTrustedObjects
Set trusted objects- Parameters:
trustedObjects- trusted objects list
-
getGeolocation
- Returns:
- the geolocation
-
setGeolocation
- Parameters:
geolocation- the geolocation to set
-
getPrimaryIpAddress
- Returns:
- the primaryIpAddress
-
setPrimaryIpAddress
- Parameters:
primaryIpAddress- the primaryIpAddress to set
-
getSnmpPort
- Returns:
- the snmpPort
-
setSnmpPort
public void setSnmpPort(int snmpPort) - Parameters:
snmpPort- the snmpPort to set
-
getMapLayout
- Returns:
- the mapLayout
-
setMapLayout
- Parameters:
mapLayout- the mapLayout to set
-
getMapBackground
- Returns:
- the mapBackground
-
setMapBackground
public void setMapBackground(UUID mapBackground, GeoLocation mapBackgroundLocation, int mapBackgroundZoom, int mapBackgroundColor) - Parameters:
mapBackground- The mapBackground to setmapBackgroundLocation- The mapBackgroundLocation to setmapBackgroundZoom- The mapBackgroundZoom level to setmapBackgroundColor- The mapBackgroundColor to set
-
getMapElements
- Returns:
- the mapElements
-
getMapLinks
- Returns:
- the mapLinks
-
setMapContent
Set map contents- Parameters:
elements- Network map elementslinks- Network map links
-
getMapImage
Get map image.- Returns:
- map image
-
setMapImage
Set new map image- Parameters:
image- new map image
-
getColumnCount
- Returns:
- the columnCount
-
setColumnCount
public void setColumnCount(int columnCount) - Parameters:
columnCount- the columnCount to set
-
getDashboardElements
- Returns:
- the dashboardElements
-
setDashboardElements
- Parameters:
dashboardElements- the dashboardElements to set
-
getScript
- Returns:
- the script
-
setScript
- Parameters:
script- the script to set
-
getActivationEvent
- Returns:
- the activationEvent
-
setActivationEvent
public void setActivationEvent(int activationEvent) - Parameters:
activationEvent- the activationEvent to set
-
getDeactivationEvent
- Returns:
- the deactivationEvent
-
setDeactivationEvent
public void setDeactivationEvent(int deactivationEvent) - Parameters:
deactivationEvent- the deactivationEvent to set
-
getSourceObject
- Returns:
- the sourceObject
-
setSourceObject
public void setSourceObject(long sourceObject) - Parameters:
sourceObject- the sourceObject to set
-
getActiveStatus
- Returns:
- the activeStatus
-
setActiveStatus
public void setActiveStatus(int activeStatus) - Parameters:
activeStatus- the activeStatus to set
-
getInactiveStatus
- Returns:
- the inactiveStatus
-
setInactiveStatus
public void setInactiveStatus(int inactiveStatus) - Parameters:
inactiveStatus- the inactiveStatus to set
-
getDciList
- Returns:
- the dciList
-
setDciList
- Parameters:
dciList- the dciList to set
-
getDrillDownObjectId
- Returns:
- the submapId
-
setDrillDownObjectId
public void setDrillDownObjectId(long drillDownObjectId) - Parameters:
drillDownObjectId- the drillDownObjectId to set
-
getMapBackgroundLocation
- Returns:
- the mapBackgroundLocation
-
getMapBackgroundZoom
- Returns:
- the mapBackgroundZoom
-
getPollerNode
- Returns:
- the pollerNode
-
setPollerNode
public void setPollerNode(long pollerNode) - Parameters:
pollerNode- the pollerNode to set
-
getRequiredPolls
- Returns:
- the requiredPolls
-
setRequiredPolls
public void setRequiredPolls(int requiredPolls) - Parameters:
requiredPolls- the requiredPolls to set
-
getServiceType
- Returns:
- the serviceType
-
setServiceType
public void setServiceType(int serviceType) - Parameters:
serviceType- the serviceType to set
-
getIpProtocol
- Returns:
- the ipProtocol
-
setIpProtocol
public void setIpProtocol(int ipProtocol) - Parameters:
ipProtocol- the ipProtocol to set
-
getIpPort
- Returns:
- the ipPort
-
setIpPort
public void setIpPort(int ipPort) - Parameters:
ipPort- the ipPort to set
-
getIpAddress
- Returns:
- the ipAddress
-
setIpAddress
- Parameters:
ipAddress- the ipAddress to set
-
getRequest
- Returns:
- the request
-
setRequest
- Parameters:
request- the request to set
-
getResponse
- Returns:
- the response
-
setResponse
- Parameters:
response- the response to set
-
getObjectFlags
Get object flags- Returns:
- object flags
-
getObjectFlagsMask
Get object flags mask- Returns:
- the object flags mask
-
setObjectFlags
public void setObjectFlags(int objectFlags) Set object flags- Parameters:
objectFlags- Object flags
-
setObjectFlags
public void setObjectFlags(int objectFlags, int objectFlagsMask) Set selected object flags. Only flags with corresponding mask bits set will be changed.- Parameters:
objectFlags- new object flagsobjectFlagsMask- object flag mask
-
getIfXTablePolicy
- Returns:
- the ifXTablePolicy
-
setIfXTablePolicy
public void setIfXTablePolicy(int ifXTablePolicy) - Parameters:
ifXTablePolicy- the ifXTablePolicy to set
-
getReportDefinition
- Returns:
- the reportDefinition
-
setReportDefinition
- Parameters:
reportDefinition- the reportDefinition to set
-
setReportDefinition
Set report definition from file.- Parameters:
file- file containing report definition- Throws:
IOException- if file I/O error occursFileNotFoundException- if given file does not exist or inaccessible
-
getResourceList
- Returns:
- the resourceList
-
setResourceList
- Parameters:
resourceList- the resourceList to set
-
getNetworkList
- Returns:
- the networkList
-
setNetworkList
- Parameters:
networkList- the networkList to set
-
getPrimaryName
- Returns:
- the primaryName
-
setPrimaryName
- Parameters:
primaryName- the primaryName to set
-
getStatusCalculationMethod
- Returns:
- the statusCalculationMethod
-
setStatusCalculationMethod
public void setStatusCalculationMethod(int statusCalculationMethod) - Parameters:
statusCalculationMethod- the statusCalculationMethod to set
-
getStatusPropagationMethod
- Returns:
- the statusPropagationMethod
-
setStatusPropagationMethod
public void setStatusPropagationMethod(int statusPropagationMethod) - Parameters:
statusPropagationMethod- the statusPropagationMethod to set
-
getFixedPropagatedStatus
- Returns:
- the fixedPropagatedStatus
-
setFixedPropagatedStatus
- Parameters:
fixedPropagatedStatus- the fixedPropagatedStatus to set
-
getStatusShift
- Returns:
- the statusShift
-
setStatusShift
public void setStatusShift(int statusShift) - Parameters:
statusShift- the statusShift to set
-
getStatusTransformation
- Returns:
- the statusTransformation
-
setStatusTransformation
- Parameters:
statusTransformation- the statusTransformation to set
-
getStatusSingleThreshold
- Returns:
- the statusSingleThreshold
-
setStatusSingleThreshold
public void setStatusSingleThreshold(int statusSingleThreshold) - Parameters:
statusSingleThreshold- the statusSingleThreshold to set
-
getStatusThresholds
public int[] getStatusThresholds()- Returns:
- the statusThresholds
-
setStatusThresholds
public void setStatusThresholds(int[] statusThresholds) - Parameters:
statusThresholds- the statusThresholds to set
-
getExpectedState
- Returns:
- the expectedState
-
setExpectedState
public void setExpectedState(int expectedState) - Parameters:
expectedState- the expectedState to set
-
getLinkColor
- Returns:
- the linkColor
-
setLinkColor
public void setLinkColor(int linkColor) - Parameters:
linkColor- the linkColor to set
-
getConnectionRouting
- Returns:
- the connectionRouting
-
setConnectionRouting
public void setConnectionRouting(int connectionRouting) - Parameters:
connectionRouting- the connectionRouting to set
-
getNetworkMapLinkWidth
- Returns:
- the networkMapLinkWidth
-
setNetworkMapLinkWidth
- Parameters:
networkMapLinkWidth- the networkMapLinkWidth to set
-
getNetworkMapLinkStyle
- Returns:
- the networkMapLinkStyle
-
setNetworkMapLinkStyle
- Parameters:
networkMapLinkStyle- the networkMapLinkStyle to set
-
getMapBackgroundColor
- Returns:
- the mapBackgroundColor
-
getDiscoveryRadius
- Returns:
- the discoveryRadius
-
setDiscoveryRadius
public final void setDiscoveryRadius(int discoveryRadius) - Parameters:
discoveryRadius- the discoveryRadius to set
-
getHeight
- Returns:
- the height
-
setHeight
public void setHeight(int height) - Parameters:
height- the height to set
-
getFilter
- Returns:
- the filter
-
setFilter
- Parameters:
filter- the filter to set
-
getLinkStylingScript
- Returns:
- the linkStylingScript
-
setLinkStylingScript
- Parameters:
linkStylingScript- the linkStylingScript to set
-
getPeerGatewayId
- Returns:
- the peerGatewayId
-
setPeerGatewayId
public void setPeerGatewayId(long peerGatewayId) - Parameters:
peerGatewayId- the peerGatewayId to set
-
getLocalNetworks
- Returns:
- the localNetworks
-
getRemoteNetworks
- Returns:
- the remoteNetworks
-
setVpnNetworks
- Parameters:
localNetworks- the localNetworks to setremoteNetworks- the remoteNetworks to set
-
getPostalAddress
- Returns:
- the postalAddress
-
setPostalAddress
- Parameters:
postalAddress- the postalAddress to set
-
getAgentCacheMode
Get agent cache mode- Returns:
- agent cache mode
-
setAgentCacheMode
Set agent cache mode- Parameters:
agentCacheMode- new agent cache mode
-
getAgentCompressionMode
Get agent compression mode- Returns:
- agent compression mode
-
setAgentCompressionMode
Set agent compression mode- Parameters:
agentCompressionMode- new agent compression mode
-
getMapObjectDisplayMode
- Returns:
- the mapObjectDisplayMode
-
setMapObjectDisplayMode
- Parameters:
mapObjectDisplayMode- the mapObjectDisplayMode to set
-
getPhysicalContainerObjectId
- Returns:
- the physicalContainerObjectId
-
getFrontRackImage
- Returns:
- the front rackImage
-
getRearRackImage
- Returns:
- the rear rackImage
-
getRackPosition
- Returns:
- the rackPosition
-
getRackHeight
- Returns:
- the rackHeight
-
getRackOrientation
Get rack orientation- Returns:
- rack orientation
-
setRackPlacement
public void setRackPlacement(UUID rackImageFront, UUID rackImageRear, short rackPosition, short rackHeight, RackOrientation rackOrientation) Set rack placement data- Parameters:
rackImageFront- The front rack image to setrackImageRear- The rear rack image to setrackPosition- The rack position to setrackHeight- the rack height to setrackOrientation- Rack orientation (front/rear)
-
getDashboards
- Returns:
- the dashboards
-
setDashboards
- Parameters:
dashboards- the dashboards to set
-
isRackNumberingTopBottom
- Returns:
- the rackNumberingTopBottom
-
setRackNumberingTopBottom
public void setRackNumberingTopBottom(boolean rackNumberingTopBottom) - Parameters:
rackNumberingTopBottom- the rackNumberingTopBottom to set
-
getControllerId
- Returns:
- the controllerId
-
setControllerId
public void setControllerId(long controllerId) - Parameters:
controllerId- the controllerId to set
-
getChassisId
- Returns:
- the chassisId
-
setChassisId
public void setChassisId(long chassisId) - Parameters:
chassisId- the chassisId to set
-
getSshProxy
- Returns:
- the sshProxy
-
setSshProxy
public void setSshProxy(long sshProxy) - Parameters:
sshProxy- the sshProxy to set
-
getSshKeyId
- Returns:
- the sshKeyId
-
setSshKeyId
public void setSshKeyId(int sshKeyId) - Parameters:
sshKeyId- the sshKeyId to set
-
getSshLogin
- Returns:
- the sshLogin
-
setSshLogin
- Parameters:
sshLogin- the sshLogin to set
-
getSshPassword
- Returns:
- the sshPassword
-
setSshPassword
- Parameters:
sshPassword- the sshPassword to set
-
getSshPort
-
setSshPort
public void setSshPort(int sshPort) -
getVncProxy
- Returns:
- the vncProxy
-
setVncProxy
- Parameters:
vncProxy- the vncProxy to set
-
getVncPassword
- Returns:
- the vncPassword
-
setVncPassword
- Parameters:
vncPassword- the vncPassword to set
-
getVncPort
- Returns:
- the vncPort
-
setVncPort
- Parameters:
vncPort- the vncPort to set
-
getZoneProxies
- Returns:
- the zoneProxies
-
setZoneProxies
- Parameters:
zoneProxies- the zoneProxies to set
-
getUrls
- Returns:
- urls
-
setUrls
Set URL list- Parameters:
urls- new URL list
-
getSeedObjectIds
- Returns:
- the seedObjectIds
-
getSeedObjectIdsAsList
- Returns:
- the seedObjectIds
-
setSeedObjectIds
- Parameters:
seedObjectIds- the seed node object Ids to set
-
getMacAddress
- Returns:
- the macAddress
-
setMacAddress
- Parameters:
macAddress- the macAddress to set
-
getDeviceClass
- Returns:
- the deviceClass
-
setDeviceClass
- Parameters:
deviceClass- the deviceClass to set
-
getVendor
- Returns:
- the vendor
-
setVendor
- Parameters:
vendor- the vendor to set
-
getModel
- Returns:
- the model
-
setModel
- Parameters:
model- the model to set
-
getSerialNumber
- Returns:
- the serialNumber
-
setSerialNumber
- Parameters:
serialNumber- the serialNumber to set
-
getDeviceAddress
- Returns:
- the deviceAddress
-
setDeviceAddress
- Parameters:
deviceAddress- the deviceAddress to set
-
getMetaType
- Returns:
- the metaType
-
setMetaType
- Parameters:
metaType- the metaType to set
-
setSensorProxy
public void setSensorProxy(long proxyNode) -
getGatewayNodeId
-
getPassiveElements
- Returns:
- the passiveElementsConfig
-
setPassiveElements
Set passive rack elements configuration- Parameters:
passiveElements- XMS configuration of passive rack elements
-
getResponsibleUsers
- Returns:
- responsible users list
-
setResponsibleUsers
Set responsible users- Parameters:
responsibleUsers- to set
-
getIcmpStatCollectionMode
Get ICMP statistic collection mode- Returns:
- ICMP statistic collection mode
-
setIcmpStatCollectionMode
Set ICMP statistic collection mode- Parameters:
mode- new ICMP statistic collection mode
-
getIcmpTargets
Get additional ICMP poll targets- Returns:
- additional ICMP poll targets
-
setIcmpTargets
Set additional ICMP poll targets- Parameters:
icmpTargets- new list of additional ICMP poll targets
-
setPhysicalContainer
public void setPhysicalContainer(long physicalContainerObjectId) Set physical container for object Will be set together with CHASSIS_PLACEMENT or RACK_PLACEMENT so no need to set fields- Parameters:
physicalContainerObjectId- bject ID of physical container
-
setChassisPlacement
Set chassis placement information- Parameters:
placementConfig- chassis placement XML config
-
getChassisPlacement
Get chassis placement configuration.- Returns:
- chassis placement configuration
-
getEtherNetIPPort
- Returns:
- the etherNetIPPort
-
setEtherNetIPPort
public void setEtherNetIPPort(int etherNetIPPort) - Parameters:
etherNetIPPort- the etherNetIPPort to set
-
getEtherNetIPProxy
- Returns:
- the etherNetIPProxy
-
setEtherNetIPProxy
public void setEtherNetIPProxy(long etherNetIPProxy) - Parameters:
etherNetIPProxy- the etherNetIPProxy to set
-
getModbusTcpPort
- Returns:
- the modbusTcpPort
-
setModbusTcpPort
- Parameters:
modbusTcpPort- the modbusTcpPort to set
-
getModbusUnitId
- Returns:
- the modbusUnitId
-
setModbusUnitId
- Parameters:
modbusUnitId- the modbusUnitId to set
-
getModbusProxy
- Returns:
- the modbusProxy
-
setModbusProxy
- Parameters:
modbusProxy- the modbusProxy to set
-
setCertificateMapping
Set certificate mapping method and data.- Parameters:
method- mapping methoddata- mapping data (method dependent, can be null)
-
getCertificateMappingMethod
Get certificate mapping method.- Returns:
- certificate mapping method
-
getCertificateMappingData
Get certificate mapping data.- Returns:
- certificate mapping data
-
getCategoryId
Get category ID.- Returns:
- category ID
-
setCategoryId
public void setCategoryId(int categoryId) Set category ID.- Parameters:
categoryId- new category ID
-
getGeoLocationControlMode
Get geolocation control mode- Returns:
- geolocation control mode
-
setGeoLocationControlMode
Set geolocation control mode- Parameters:
geoLocationControlMode- new geolocation control mode
-
getGeoAreas
public long[] getGeoAreas()Get geo areas for object- Returns:
- geo areas for object
-
setGeoAreas
public void setGeoAreas(long[] geoAreas) Set geo areas for object- Parameters:
geoAreas- new geo areas for object
-
getInstanceDiscoveryMethod
- Returns:
- the instanceDiscoveryMethod
-
setInstanceDiscoveryMethod
public final void setInstanceDiscoveryMethod(int instanceDiscoveryMethod) - Parameters:
instanceDiscoveryMethod- the instanceDiscoveryMethod to set
-
getInstanceDiscoveryData
- Returns:
- the instanceDiscoveryData
-
setInstanceDiscoveryData
- Parameters:
instanceDiscoveryData- the instanceDiscoveryData to set
-
getInstanceDiscoveryFilter
- Returns:
- the instanceDiscoveryFilter
-
setInstanceDiscoveryFilter
- Parameters:
instanceDiscoveryFilter- the instanceDiscoveryFilter to set
-
getAutoBindFilter2
- Returns:
- the autoBindFilter2
-
setAutoBindFilter2
- Parameters:
autoBindFilter2- the autoBindFilter2 to set
-
getAutoBindFlags
- Returns:
- the autoBindFlags
-
setAutoBindFlags
- Parameters:
autoBindFlags- the autoBindFlags to set
-
setObjectStatusThreshold
- Parameters:
objectStatusThreshold- the objectStatusThreshold to set
-
getObjectStatusThreshold
- Returns:
- the objectStatusThreshold
-
getDciStatusThreshold
- Returns:
- the dciStatusThreshold
-
setDciStatusThreshold
- Parameters:
dciStatusThreshold- the dciStatusThreshold to set
-
setSourceNode
- Parameters:
sourceNode- the sourceNode to set
-
getSourceNode
- Returns:
- the dciStatusThreshold
-
setSyslogCodepage
- Parameters:
syslogCodepage- the syslog codepage to set
-
getSyslogCodepage
- Returns:
- the syslogCodepage
-
setSNMPCodepage
- Parameters:
snmpCodepage- the SNMP codepage to set
-
getSNMPCodepage
- Returns:
- the snmpCodepage
-
getDisplayPriority
- Returns:
- the displayPriority
-
setDisplayPriority
- Parameters:
displayPriority- the displayPriority to set
-
setMapSize
public void setMapSize(int width, int height) Set map size.- Parameters:
width- map width in logical pixelsheight- map height in logical pixels
-
getMapWidth
- Returns:
- the mapWidth
-
getMapHeight
- Returns:
- the mapHeight
-
getExpectedCapabilities
- Returns:
- the expectedCapabilities
-
setExpectedCapabilities
- Parameters:
expectedCapabilities- the expectedCapabilities to set
-