Package org.netxms.client
Class NXCObjectCreationData
java.lang.Object
org.netxms.client.NXCObjectCreationData
NetXMS object creation data
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic int -
Constructor Summary
ConstructorsConstructorDescriptionNXCObjectCreationData(int objectClass, String name, long parentId) Constructor. -
Method Summary
Modifier 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_ICMP
public static int CF_DISABLE_ICMP -
CF_DISABLE_NXCP
public static int CF_DISABLE_NXCP -
CF_DISABLE_SNMP
public static int CF_DISABLE_SNMP -
CF_CREATE_UNMANAGED
public static int CF_CREATE_UNMANAGED -
CF_ENTER_MAINTENANCE
public static int CF_ENTER_MAINTENANCE -
CF_AS_ZONE_PROXY
public static int CF_AS_ZONE_PROXY -
CF_DISABLE_ETHERNET_IP
public static int CF_DISABLE_ETHERNET_IP -
CF_SNMP_SETTINGS_LOCKED
public static int CF_SNMP_SETTINGS_LOCKED -
CF_EXTERNAL_GATEWAY
public static int CF_EXTERNAL_GATEWAY -
CF_DISABLE_SSH
public static int CF_DISABLE_SSH -
CF_DISABLE_MODBUS_TCP
public static int CF_DISABLE_MODBUS_TCP -
CF_DISABLE_VNC
public static int CF_DISABLE_VNC
-
-
Constructor Details
-
NXCObjectCreationData
Constructor.- Parameters:
objectClass- Class of new object (one of NXCObject.OBJECT_xxx constants)name- Name of new objectparentId- Parent object ID- See Also:
-
-
Method Details
-
updateFromModificationData
Update creation data from modify object- Parameters:
data- modifyt data
-
getObjectClass
public int getObjectClass()- Returns:
- the objectClass
-
setObjectClass
public void setObjectClass(int objectClass) - Parameters:
objectClass- the objectClass to set
-
getName
- Returns:
- the name
-
setName
- Parameters:
name- the name to set
-
getParentId
public long getParentId()- Returns:
- the parentId
-
setParentId
public void setParentId(long parentId) - Parameters:
parentId- the parentId to set
-
getComments
- Returns:
- the comments
-
setComments
- Parameters:
comments- the comments to set
-
getCreationFlags
public int getCreationFlags()- Returns:
- the creationFlags
-
setCreationFlags
public 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
-
getAgentProxyId
public long getAgentProxyId()- Returns:
- the agentProxyId
-
setAgentProxyId
public void setAgentProxyId(long agentProxyId) - Parameters:
agentProxyId- the agentProxyId to set
-
getSnmpProxyId
public long getSnmpProxyId()- Returns:
- the snmpProxyId
-
setSnmpProxyId
public void setSnmpProxyId(long snmpProxyId) - Parameters:
snmpProxyId- the snmpProxyId to set
-
getMqttProxyId
public long getMqttProxyId()- Returns:
- the mqttProxyId
-
setMqttProxyId
public void setMqttProxyId(long mqttProxyId) - Parameters:
mqttProxyId- the mqttProxyId to set
-
getIcmpProxyId
public long getIcmpProxyId()- Returns:
- the icmpProxyId
-
setIcmpProxyId
public void setIcmpProxyId(long icmpProxyId) - Parameters:
icmpProxyId- the icmpProxyId to set
-
getSshProxyId
public long getSshProxyId()- Returns:
- the sshProxyId
-
setSshProxyId
public void setSshProxyId(long sshProxyId) - Parameters:
sshProxyId- the sshProxyId to set
-
getVncProxyId
public long getVncProxyId()- Returns:
- the vncProxyId
-
setVncProxyId
public void setVncProxyId(long vncProxyId) - Parameters:
vncProxyId- the vncProxyId to set
-
getWebServiceProxyId
public long getWebServiceProxyId()- Returns:
- the webServiceProxyId
-
setWebServiceProxyId
public 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
-
setSeedObjectId
public void setSeedObjectId(long seedObjectId) - Parameters:
seedObjectId- the seedObjectId to set
-
setSeedObjectIds
- Parameters:
seedObjectIds- the seed node object Ids to set
-
getZoneUIN
public int getZoneUIN()- Returns:
- the zoneId
-
setZoneUIN
public void setZoneUIN(int zoneUIN) - Parameters:
zoneUIN- the zoneId to set
-
getServiceType
public int getServiceType()- Returns:
- the serviceType
-
setServiceType
public void setServiceType(int serviceType) - Parameters:
serviceType- the serviceType to set
-
getIpProtocol
public int getIpProtocol()- Returns:
- the ipProtocol
-
setIpProtocol
public void setIpProtocol(int ipProtocol) - Parameters:
ipProtocol- the ipProtocol to set
-
getIpPort
public int getIpPort()- Returns:
- the ipPort
-
setIpPort
public 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
-
getLinkedNodeId
public long getLinkedNodeId()- Returns:
- the linkedNodeId
-
setLinkedNodeId
public 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
-
isTemplate
public boolean isTemplate()- Returns:
- the template
-
setTemplate
public void setTemplate(boolean template) - Parameters:
template- the template to set
-
getMacAddress
- Returns:
- the macAddress
-
setMacAddress
- Parameters:
macAddress- the macAddress to set
-
getIfIndex
public int getIfIndex()- Returns:
- the ifIndex
-
setIfIndex
public void setIfIndex(int ifIndex) - Parameters:
ifIndex- the ifIndex to set
-
getIfType
public int getIfType()- Returns:
- the ifType
-
setIfType
public void setIfType(int ifType) - Parameters:
ifType- the ifType to set
-
getModule
public int getModule()- Returns:
- interface module number
-
setModule
public void setModule(int module) - Parameters:
module- interface module number
-
getChassis
public int getChassis()- Returns:
- the chassis
-
setChassis
public void setChassis(int chassis) - Parameters:
chassis- the chassis to set
-
getPIC
public int getPIC()- Returns:
- the pic
-
setPIC
public void setPIC(int pic) - Parameters:
pic- the pic to set
-
getPort
public int getPort()- Returns:
- the port
-
setPort
public void setPort(int port) - Parameters:
port- the port to set
-
isPhysicalPort
public boolean isPhysicalPort()- Returns:
- the physicalPort
-
setPhysicalPort
public void setPhysicalPort(boolean physicalPort) - Parameters:
physicalPort- the physicalPort to set
-
isCreateStatusDci
public boolean isCreateStatusDci()- Returns:
- the createStatusDci
-
setCreateStatusDci
public void setCreateStatusDci(boolean createStatusDci) - Parameters:
createStatusDci- the createStatusDci to set
-
getAgentPort
public int getAgentPort()- Returns:
- the agentPort
-
setAgentPort
public void setAgentPort(int agentPort) - Parameters:
agentPort- the agentPort to set
-
getSnmpPort
public int getSnmpPort()- Returns:
- the snmpPort
-
setSnmpPort
public void setSnmpPort(int snmpPort) - Parameters:
snmpPort- the snmpPort to set
-
getDeviceId
- Returns:
- the deviceId
-
setDeviceId
- Parameters:
deviceId- the deviceId to set
-
getHeight
public int getHeight()- Returns:
- the height
-
setHeight
public void setHeight(int height) - Parameters:
height- the height to set
-
getFlags
public int getFlags()- Returns:
- the flags
-
setFlags
public void setFlags(int flags) - Parameters:
flags- the flags to set
-
getControllerId
public long getControllerId()- Returns:
- the controllerId
-
setControllerId
public void setControllerId(long controllerId) - Parameters:
controllerId- the controllerId to set
-
getChassisId
public long getChassisId()- Returns:
- the chassisId
-
setChassisId
public 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
-
getGatewayNodeId
public long getGatewayNodeId()- Returns:
- the sensorProxy
-
setGatewayNodeId
public void setGatewayNodeId(long gatewayNodeId) - Parameters:
gatewayNodeId- the sensorProxy to set
-
getEtherNetIpPort
public int getEtherNetIpPort()- Returns:
- the etherNetIpPort
-
setEtherNetIpPort
public void setEtherNetIpPort(int etherNetIpPort) - Parameters:
etherNetIpPort- the etherNetIpPort to set
-
getEtherNetIpProxyId
public long getEtherNetIpProxyId()- Returns:
- the etherNetIpProxyId
-
setEtherNetIpProxyId
public void setEtherNetIpProxyId(long etherNetIpProxyId) - Parameters:
etherNetIpProxyId- the etherNetIpProxyId to set
-
getModbusTcpPort
public int getModbusTcpPort()- Returns:
- the modbusTcpPort
-
setModbusTcpPort
public void setModbusTcpPort(int modbusTcpPort) - Parameters:
modbusTcpPort- the modbusTcpPort to set
-
getModbusUnitId
public short getModbusUnitId()- Returns:
- the modbusUnitId
-
setModbusUnitId
public void setModbusUnitId(short modbusUnitId) - Parameters:
modbusUnitId- the modbusUnitId to set
-
getModbusProxyId
public long getModbusProxyId()- Returns:
- the modbusProxyId
-
setModbusProxyId
public void setModbusProxyId(long modbusProxyId) - Parameters:
modbusProxyId- the modbusProxyId to set
-
getSshPort
public int getSshPort()- Returns:
- the sshPort
-
setSshPort
public void setSshPort(int sshPort) - Parameters:
sshPort- the sshPort to set
-
getVncPort
public int getVncPort()- Returns:
- the vncPort
-
setVncPort
public void setVncPort(int vncPort) - Parameters:
vncPort- the vncPort to set
-
getInstanceDiscoveryMethod
public int getInstanceDiscoveryMethod()- Returns:
- the instanceDiscoveryMethod
-
setInstanceDiscoveryMethod
public void setInstanceDiscoveryMethod(int instanceDiscoveryMethod) - Parameters:
instanceDiscoveryMethod- the instanceDiscoveryMethod to set
-
getAssetId
public long getAssetId()- Returns:
- the assetId
-
setAssetId
public void setAssetId(long assetId) - Parameters:
assetId- the assetId to set
-
getAssetProperties
- Returns:
- the assetProperties
-
setAssetProperties
- Parameters:
assetProperties- the assetProperties to set
-
toString
-