Package org.netxms.client
Class NXCObjectCreationData
java.lang.Object
org.netxms.client.NXCObjectCreationData
NetXMS object creation data
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic int
- 
Constructor SummaryConstructorsConstructorDescriptionNXCObjectCreationData(int objectClass, String name, long parentId) Constructor.
- 
Method SummaryModifier and TypeMethodDescriptionintlonglongintlonglongintfinal StringintlongintgetFlags()longintlongintintintintintlonglongintshortgetModel()intlonggetName()intlongintgetPIC()intgetPort()Long[]final Stringintintlongintlongfinal StringintlonglongintbooleanbooleanbooleanvoidsetAgentPort(int agentPort) voidsetAgentProxyId(long agentProxyId) voidsetAssetId(long assetId) voidsetAssetProperties(Map<String, String> assetProperties) voidsetChassis(int chassis) voidsetChassisId(long chassisId) voidsetComments(String comments) voidsetControllerId(long controllerId) voidsetCreateStatusDci(boolean createStatusDci) voidsetCreationFlags(int creationFlags) voidsetDeviceAddress(String deviceAddress) voidsetDeviceClass(SensorDeviceClass deviceClass) final voidsetDeviceId(String deviceId) voidsetEtherNetIpPort(int etherNetIpPort) voidsetEtherNetIpProxyId(long etherNetIpProxyId) voidsetFlags(int flags) voidsetGatewayNodeId(long gatewayNodeId) voidsetHeight(int height) voidsetIcmpProxyId(long icmpProxyId) voidsetIfIndex(int ifIndex) voidsetIfType(int ifType) voidsetInstanceDiscoveryMethod(int instanceDiscoveryMethod) voidsetIpAddress(InetAddressEx ipAddress) voidsetIpPort(int ipPort) voidsetIpProtocol(int ipProtocol) voidsetLinkedNodeId(long linkedNodeId) voidsetMacAddress(MacAddress macAddress) voidsetMapType(MapType mapType) voidsetModbusProxyId(long modbusProxyId) voidsetModbusTcpPort(int modbusTcpPort) voidsetModbusUnitId(short modbusUnitId) voidvoidsetModule(int module) voidsetMqttProxyId(long mqttProxyId) voidvoidsetObjectAlias(String alias) voidsetObjectClass(int objectClass) voidsetParentId(long parentId) voidsetPhysicalPort(boolean physicalPort) voidsetPIC(int pic) voidsetPort(int port) voidsetPrimaryName(String primaryName) voidsetRequest(String request) voidsetResponse(String response) voidsetSeedObjectId(long seedObjectId) voidsetSeedObjectIds(Collection<Long> seedObjectIds) voidsetSerialNumber(String serialNumber) voidsetServiceType(int serviceType) voidsetSnmpPort(int snmpPort) voidsetSnmpProxyId(long snmpProxyId) voidsetSshLogin(String sshLogin) voidsetSshPassword(String sshPassword) voidsetSshPort(int sshPort) voidsetSshProxyId(long sshProxyId) voidsetTemplate(boolean template) voidvoidsetVncPassword(String vncPassword) voidsetVncPort(int vncPort) voidsetVncProxyId(long vncProxyId) voidsetWebServiceProxyId(long webServiceProxyId) voidsetZoneUIN(int zoneUIN) toString()voidUpdate creation data from modify object
- 
Field Details- 
CF_DISABLE_ICMPpublic static int CF_DISABLE_ICMP
- 
CF_DISABLE_NXCPpublic static int CF_DISABLE_NXCP
- 
CF_DISABLE_SNMPpublic static int CF_DISABLE_SNMP
- 
CF_CREATE_UNMANAGEDpublic static int CF_CREATE_UNMANAGED
- 
CF_ENTER_MAINTENANCEpublic static int CF_ENTER_MAINTENANCE
- 
CF_AS_ZONE_PROXYpublic static int CF_AS_ZONE_PROXY
- 
CF_DISABLE_ETHERNET_IPpublic static int CF_DISABLE_ETHERNET_IP
- 
CF_SNMP_SETTINGS_LOCKEDpublic static int CF_SNMP_SETTINGS_LOCKED
- 
CF_EXTERNAL_GATEWAYpublic static int CF_EXTERNAL_GATEWAY
- 
CF_DISABLE_SSHpublic static int CF_DISABLE_SSH
- 
CF_DISABLE_MODBUS_TCPpublic static int CF_DISABLE_MODBUS_TCP
- 
CF_DISABLE_VNCpublic static int CF_DISABLE_VNC
 
- 
- 
Constructor Details- 
NXCObjectCreationDataConstructor.- Parameters:
- objectClass- Class of new object (one of NXCObject.OBJECT_xxx constants)
- name- Name of new object
- parentId- Parent object ID
- See Also:
 
 
- 
- 
Method Details- 
updateFromModificationDataUpdate creation data from modify object- Parameters:
- data- modifyt data
 
- 
getObjectClasspublic int getObjectClass()- Returns:
- the objectClass
 
- 
setObjectClasspublic void setObjectClass(int objectClass) - Parameters:
- objectClass- the objectClass to set
 
- 
getName- Returns:
- the name
 
- 
setName- Parameters:
- name- the name to set
 
- 
getParentIdpublic long getParentId()- Returns:
- the parentId
 
- 
setParentIdpublic void setParentId(long parentId) - Parameters:
- parentId- the parentId to set
 
- 
getComments- Returns:
- the comments
 
- 
setComments- Parameters:
- comments- the comments to set
 
- 
getCreationFlagspublic int getCreationFlags()- Returns:
- the creationFlags
 
- 
setCreationFlagspublic void setCreationFlags(int creationFlags) - Parameters:
- creationFlags- Node creation flags (combination of NXCObjectCreationData.CF_xxx constants)
 
- 
getIpAddress- Returns:
- the ipAddress
 
- 
setIpAddress- Parameters:
- ipAddress- the ipAddress to set
 
- 
getAgentProxyIdpublic long getAgentProxyId()- Returns:
- the agentProxyId
 
- 
setAgentProxyIdpublic void setAgentProxyId(long agentProxyId) - Parameters:
- agentProxyId- the agentProxyId to set
 
- 
getSnmpProxyIdpublic long getSnmpProxyId()- Returns:
- the snmpProxyId
 
- 
setSnmpProxyIdpublic void setSnmpProxyId(long snmpProxyId) - Parameters:
- snmpProxyId- the snmpProxyId to set
 
- 
getMqttProxyIdpublic long getMqttProxyId()- Returns:
- the mqttProxyId
 
- 
setMqttProxyIdpublic void setMqttProxyId(long mqttProxyId) - Parameters:
- mqttProxyId- the mqttProxyId to set
 
- 
getIcmpProxyIdpublic long getIcmpProxyId()- Returns:
- the icmpProxyId
 
- 
setIcmpProxyIdpublic void setIcmpProxyId(long icmpProxyId) - Parameters:
- icmpProxyId- the icmpProxyId to set
 
- 
getSshProxyIdpublic long getSshProxyId()- Returns:
- the sshProxyId
 
- 
setSshProxyIdpublic void setSshProxyId(long sshProxyId) - Parameters:
- sshProxyId- the sshProxyId to set
 
- 
getVncProxyIdpublic long getVncProxyId()- Returns:
- the vncProxyId
 
- 
setVncProxyIdpublic void setVncProxyId(long vncProxyId) - Parameters:
- vncProxyId- the vncProxyId to set
 
- 
getWebServiceProxyIdpublic long getWebServiceProxyId()- Returns:
- the webServiceProxyId
 
- 
setWebServiceProxyIdpublic void setWebServiceProxyId(long webServiceProxyId) - Parameters:
- webServiceProxyId- the webServiceProxyId to set
 
- 
getMapType- Returns:
- the mapType
 
- 
setMapType- Parameters:
- mapType- the mapType to set
 
- 
getSeedObjectIds- Returns:
- the seedObjectIds
 
- 
setSeedObjectIdpublic void setSeedObjectId(long seedObjectId) - Parameters:
- seedObjectId- the seedObjectId to set
 
- 
setSeedObjectIds- Parameters:
- seedObjectIds- the seed node object Ids to set
 
- 
getZoneUINpublic int getZoneUIN()- Returns:
- the zoneId
 
- 
setZoneUINpublic void setZoneUIN(int zoneUIN) - Parameters:
- zoneUIN- the zoneId to set
 
- 
getServiceTypepublic int getServiceType()- Returns:
- the serviceType
 
- 
setServiceTypepublic void setServiceType(int serviceType) - Parameters:
- serviceType- the serviceType to set
 
- 
getIpProtocolpublic int getIpProtocol()- Returns:
- the ipProtocol
 
- 
setIpProtocolpublic void setIpProtocol(int ipProtocol) - Parameters:
- ipProtocol- the ipProtocol to set
 
- 
getIpPortpublic int getIpPort()- Returns:
- the ipPort
 
- 
setIpPortpublic void setIpPort(int ipPort) - Parameters:
- ipPort- the ipPort to set
 
- 
getRequest- Returns:
- the request
 
- 
setRequest- Parameters:
- request- the request to set
 
- 
getResponse- Returns:
- the response
 
- 
setResponse- Parameters:
- response- the response to set
 
- 
getLinkedNodeIdpublic long getLinkedNodeId()- Returns:
- the linkedNodeId
 
- 
setLinkedNodeIdpublic void setLinkedNodeId(long linkedNodeId) - Parameters:
- linkedNodeId- the linkedNodeId to set
 
- 
getPrimaryName- Returns:
- the primaryName
 
- 
setPrimaryName- Parameters:
- primaryName- the primaryName to set
 
- 
setObjectAlias- Parameters:
- alias- the alias to set
 
- 
getObjectAlias- Returns:
- the alias
 
- 
isTemplatepublic boolean isTemplate()- Returns:
- the template
 
- 
setTemplatepublic void setTemplate(boolean template) - Parameters:
- template- the template to set
 
- 
getMacAddress- Returns:
- the macAddress
 
- 
setMacAddress- Parameters:
- macAddress- the macAddress to set
 
- 
getIfIndexpublic int getIfIndex()- Returns:
- the ifIndex
 
- 
setIfIndexpublic void setIfIndex(int ifIndex) - Parameters:
- ifIndex- the ifIndex to set
 
- 
getIfTypepublic int getIfType()- Returns:
- the ifType
 
- 
setIfTypepublic void setIfType(int ifType) - Parameters:
- ifType- the ifType to set
 
- 
getModulepublic int getModule()- Returns:
- interface module number
 
- 
setModulepublic void setModule(int module) - Parameters:
- module- interface module number
 
- 
getChassispublic int getChassis()- Returns:
- the chassis
 
- 
setChassispublic void setChassis(int chassis) - Parameters:
- chassis- the chassis to set
 
- 
getPICpublic int getPIC()- Returns:
- the pic
 
- 
setPICpublic void setPIC(int pic) - Parameters:
- pic- the pic to set
 
- 
getPortpublic int getPort()- Returns:
- the port
 
- 
setPortpublic void setPort(int port) - Parameters:
- port- the port to set
 
- 
isPhysicalPortpublic boolean isPhysicalPort()- Returns:
- the physicalPort
 
- 
setPhysicalPortpublic void setPhysicalPort(boolean physicalPort) - Parameters:
- physicalPort- the physicalPort to set
 
- 
isCreateStatusDcipublic boolean isCreateStatusDci()- Returns:
- the createStatusDci
 
- 
setCreateStatusDcipublic void setCreateStatusDci(boolean createStatusDci) - Parameters:
- createStatusDci- the createStatusDci to set
 
- 
getAgentPortpublic int getAgentPort()- Returns:
- the agentPort
 
- 
setAgentPortpublic void setAgentPort(int agentPort) - Parameters:
- agentPort- the agentPort to set
 
- 
getSnmpPortpublic int getSnmpPort()- Returns:
- the snmpPort
 
- 
setSnmpPortpublic void setSnmpPort(int snmpPort) - Parameters:
- snmpPort- the snmpPort to set
 
- 
getDeviceId- Returns:
- the deviceId
 
- 
setDeviceId- Parameters:
- deviceId- the deviceId to set
 
- 
getHeightpublic int getHeight()- Returns:
- the height
 
- 
setHeightpublic void setHeight(int height) - Parameters:
- height- the height to set
 
- 
getFlagspublic int getFlags()- Returns:
- the flags
 
- 
setFlagspublic void setFlags(int flags) - Parameters:
- flags- the flags to set
 
- 
getControllerIdpublic long getControllerId()- Returns:
- the controllerId
 
- 
setControllerIdpublic void setControllerId(long controllerId) - Parameters:
- controllerId- the controllerId to set
 
- 
getChassisIdpublic long getChassisId()- Returns:
- the chassisId
 
- 
setChassisIdpublic void setChassisId(long chassisId) - Parameters:
- chassisId- the chassisId to set
 
- 
getSshLogin- Returns:
- the sshLogin
 
- 
setSshLogin- Parameters:
- sshLogin- the sshLogin to set
 
- 
getSshPassword- Returns:
- the sshPassword
 
- 
setSshPassword- Parameters:
- sshPassword- the sshPassword to set
 
- 
getVncPassword- Returns:
- the vncPassword
 
- 
setVncPassword- Parameters:
- vncPassword- the vncPassword to set
 
- 
getDeviceClass- Returns:
- the deviceClass
 
- 
setDeviceClass- Parameters:
- deviceClass- the deviceClass to set
 
- 
getDeviceAddress- Returns:
- the deviceAddress
 
- 
setDeviceAddress- Parameters:
- deviceAddress- the deviceAddress to set
 
- 
setVendor- Parameters:
- vendor- the vendor to set
 
- 
getModel- Returns:
- the model
 
- 
setModel- Parameters:
- model- the model to set
 
- 
setSerialNumber- Parameters:
- serialNumber- the serialNumber to set
 
- 
getVendor- Returns:
- the vendor
 
- 
getSerialNumber- Returns:
- the serialNumber
 
- 
getGatewayNodeIdpublic long getGatewayNodeId()- Returns:
- the sensorProxy
 
- 
setGatewayNodeIdpublic void setGatewayNodeId(long gatewayNodeId) - Parameters:
- gatewayNodeId- the sensorProxy to set
 
- 
getEtherNetIpPortpublic int getEtherNetIpPort()- Returns:
- the etherNetIpPort
 
- 
setEtherNetIpPortpublic void setEtherNetIpPort(int etherNetIpPort) - Parameters:
- etherNetIpPort- the etherNetIpPort to set
 
- 
getEtherNetIpProxyIdpublic long getEtherNetIpProxyId()- Returns:
- the etherNetIpProxyId
 
- 
setEtherNetIpProxyIdpublic void setEtherNetIpProxyId(long etherNetIpProxyId) - Parameters:
- etherNetIpProxyId- the etherNetIpProxyId to set
 
- 
getModbusTcpPortpublic int getModbusTcpPort()- Returns:
- the modbusTcpPort
 
- 
setModbusTcpPortpublic void setModbusTcpPort(int modbusTcpPort) - Parameters:
- modbusTcpPort- the modbusTcpPort to set
 
- 
getModbusUnitIdpublic short getModbusUnitId()- Returns:
- the modbusUnitId
 
- 
setModbusUnitIdpublic void setModbusUnitId(short modbusUnitId) - Parameters:
- modbusUnitId- the modbusUnitId to set
 
- 
getModbusProxyIdpublic long getModbusProxyId()- Returns:
- the modbusProxyId
 
- 
setModbusProxyIdpublic void setModbusProxyId(long modbusProxyId) - Parameters:
- modbusProxyId- the modbusProxyId to set
 
- 
getSshPortpublic int getSshPort()- Returns:
- the sshPort
 
- 
setSshPortpublic void setSshPort(int sshPort) - Parameters:
- sshPort- the sshPort to set
 
- 
getVncPortpublic int getVncPort()- Returns:
- the vncPort
 
- 
setVncPortpublic void setVncPort(int vncPort) - Parameters:
- vncPort- the vncPort to set
 
- 
getInstanceDiscoveryMethodpublic int getInstanceDiscoveryMethod()- Returns:
- the instanceDiscoveryMethod
 
- 
setInstanceDiscoveryMethodpublic void setInstanceDiscoveryMethod(int instanceDiscoveryMethod) - Parameters:
- instanceDiscoveryMethod- the instanceDiscoveryMethod to set
 
- 
getAssetIdpublic long getAssetId()- Returns:
- the assetId
 
- 
setAssetIdpublic void setAssetId(long assetId) - Parameters:
- assetId- the assetId to set
 
- 
getAssetProperties- Returns:
- the assetProperties
 
- 
setAssetProperties- Parameters:
- assetProperties- the assetProperties to set
 
- 
toString
 
-