Package org.netxms.client
Class NXCObjectCreationData
- java.lang.Object
-
- org.netxms.client.NXCObjectCreationData
-
public class NXCObjectCreationData extends Object
NetXMS object creation data
-
-
Field Summary
Fields Modifier and Type Field Description static intCF_AS_ZONE_PROXYstatic intCF_CREATE_UNMANAGEDstatic intCF_DISABLE_ETHERNET_IPstatic intCF_DISABLE_ICMPstatic intCF_DISABLE_NXCPstatic intCF_DISABLE_SNMPstatic intCF_ENTER_MAINTENANCE
-
Constructor Summary
Constructors Constructor Description NXCObjectCreationData(int objectClass, String name, long parentId)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAgentPort()longgetAgentProxyId()intgetChassis()longgetChassisId()StringgetComments()intgetCommProtocol()longgetControllerId()intgetCreationFlags()StringgetDescription()StringgetDeviceAddress()intgetDeviceClass()StringgetDeviceId()intgetEtherNetIpPort()longgetEtherNetIpProxyId()intgetFlags()intgetHeight()longgetIcmpProxyId()intgetIfIndex()intgetIfType()org.netxms.base.InetAddressExgetIpAddress()intgetIpPort()intgetIpProtocol()DategetLastConnectionTime()longgetLinkedNodeId()org.netxms.base.MacAddressgetMacAddress()intgetMapType()StringgetMetaType()intgetModule()StringgetName()intgetObjectClass()longgetParentId()intgetPIC()intgetPort()StringgetPrimaryName()StringgetRequest()StringgetResponse()Long[]getSeedObjectIds()longgetSensorProxy()StringgetSerialNumber()intgetServiceType()intgetSnmpPort()longgetSnmpProxyId()StringgetSshLogin()StringgetSshPassword()longgetSshProxyId()StringgetVendor()StringgetXmlConfig()StringgetXmlRegConfig()longgetZoneUIN()booleanisCreateStatusDci()booleanisPhysicalPort()booleanisTemplate()voidsetAgentPort(int agentPort)voidsetAgentProxyId(long agentProxyId)voidsetChassis(int chassis)voidsetChassisId(long chassisId)voidsetComments(String comments)voidsetCommProtocol(int commProtocol)voidsetControllerId(long controllerId)voidsetCreateStatusDci(boolean createStatusDci)voidsetCreationFlags(int creationFlags)voidsetDescription(String description)voidsetDeviceAddress(String deviceAddress)voidsetDeviceClass(int deviceClass)voidsetDeviceId(String deviceId)voidsetEtherNetIpPort(int etherNetIpPort)voidsetEtherNetIpProxyId(long etherNetIpProxyId)voidsetFlags(int flags)voidsetHeight(int height)voidsetIcmpProxyId(long icmpProxyId)voidsetIfIndex(int ifIndex)voidsetIfType(int ifType)voidsetIpAddress(org.netxms.base.InetAddressEx ipAddress)voidsetIpPort(int ipPort)voidsetIpProtocol(int ipProtocol)voidsetLastConnectionTime(Date lastConnectionTime)voidsetLinkedNodeId(long linkedNodeId)voidsetMacAddress(org.netxms.base.MacAddress macAddress)voidsetMapType(int mapType)voidsetMetaType(String metaType)voidsetModule(int module)voidsetName(String name)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(List<Long> seedObjectIds)voidsetSensorProxy(long sensorProxy)voidsetSerialNumber(String serialNumber)voidsetServiceType(int serviceType)voidsetSnmpPort(int snmpPort)voidsetSnmpProxyId(long snmpProxyId)voidsetSshLogin(String sshLogin)voidsetSshPassword(String sshPassword)voidsetSshProxyId(long sshProxyId)voidsetTemplate(boolean template)voidsetVendor(String vendor)voidsetXmlConfig(String xmlConfig)voidsetXmlRegConfig(String xmlRegConfig)voidsetZoneUIN(long zoneUIN)
-
-
-
Field Detail
-
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
-
-
Constructor Detail
-
NXCObjectCreationData
public NXCObjectCreationData(int objectClass, String name, long parentId)Constructor.- Parameters:
objectClass- Class of new object (one of NXCObject.OBJECT_xxx constants)name- Name of new objectparentId- Parent object ID- See Also:
AbstractObject
-
-
Method Detail
-
getObjectClass
public int getObjectClass()
- Returns:
- the objectClass
-
setObjectClass
public void setObjectClass(int objectClass)
- Parameters:
objectClass- the objectClass to set
-
getName
public String getName()
- Returns:
- the name
-
setName
public void setName(String name)
- 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
public String getComments()
- Returns:
- the comments
-
setComments
public void setComments(String comments)
- 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
public org.netxms.base.InetAddressEx getIpAddress()
- Returns:
- the ipAddress
-
setIpAddress
public void setIpAddress(org.netxms.base.InetAddressEx ipAddress)
- 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
-
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
-
getMapType
public int getMapType()
- Returns:
- the mapType
-
setMapType
public void setMapType(int mapType)
- Parameters:
mapType- the mapType to set
-
getSeedObjectIds
public Long[] getSeedObjectIds()
- Returns:
- the seedObjectIds
-
setSeedObjectId
public void setSeedObjectId(long seedObjectId)
- Parameters:
seedObjectId- the seedObjectId to set
-
setSeedObjectIds
public void setSeedObjectIds(List<Long> seedObjectIds)
- Parameters:
seedObjectIds- the seed node object Ids to set
-
getZoneUIN
public long getZoneUIN()
- Returns:
- the zoneId
-
setZoneUIN
public void setZoneUIN(long 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
public String getRequest()
- Returns:
- the request
-
setRequest
public void setRequest(String request)
- Parameters:
request- the request to set
-
getResponse
public String getResponse()
- Returns:
- the response
-
setResponse
public void setResponse(String response)
- 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
public String getPrimaryName()
- Returns:
- the primaryName
-
setPrimaryName
public void setPrimaryName(String primaryName)
- Parameters:
primaryName- the primaryName to set
-
isTemplate
public boolean isTemplate()
- Returns:
- the template
-
setTemplate
public void setTemplate(boolean template)
- Parameters:
template- the template to set
-
getMacAddress
public org.netxms.base.MacAddress getMacAddress()
- Returns:
- the macAddress
-
setMacAddress
public void setMacAddress(org.netxms.base.MacAddress macAddress)
- 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
public final String getDeviceId()
- Returns:
- the deviceId
-
setDeviceId
public final void setDeviceId(String deviceId)
- 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
public String getSshLogin()
- Returns:
- the sshLogin
-
setSshLogin
public void setSshLogin(String sshLogin)
- Parameters:
sshLogin- the sshLogin to set
-
getSshPassword
public String getSshPassword()
- Returns:
- the sshPassword
-
setSshPassword
public void setSshPassword(String sshPassword)
- Parameters:
sshPassword- the sshPassword to set
-
getDeviceClass
public int getDeviceClass()
- Returns:
- the deviceClass
-
setDeviceClass
public void setDeviceClass(int deviceClass)
- Parameters:
deviceClass- the deviceClass to set
-
getCommProtocol
public int getCommProtocol()
- Returns:
- the commProtocol
-
setCommProtocol
public void setCommProtocol(int commProtocol)
- Parameters:
commProtocol- the commProtocol to set
-
getXmlConfig
public String getXmlConfig()
- Returns:
- the xmlConfig
-
setXmlConfig
public void setXmlConfig(String xmlConfig)
- Parameters:
xmlConfig- the xmlConfig to set
-
getXmlRegConfig
public String getXmlRegConfig()
- Returns:
- the xmlRegConfig
-
setXmlRegConfig
public void setXmlRegConfig(String xmlRegConfig)
- Parameters:
xmlRegConfig- the xmlRegConfig to set
-
getDeviceAddress
public String getDeviceAddress()
- Returns:
- the deviceAddress
-
setDeviceAddress
public void setDeviceAddress(String deviceAddress)
- Parameters:
deviceAddress- the deviceAddress to set
-
getMetaType
public String getMetaType()
- Returns:
- the metaType
-
setMetaType
public void setMetaType(String metaType)
- Parameters:
metaType- the metaType to set
-
getDescription
public String getDescription()
- Returns:
- the description
-
setDescription
public void setDescription(String description)
- Parameters:
description- the description to set
-
getLastConnectionTime
public Date getLastConnectionTime()
- Returns:
- the lastConnectionTime
-
setLastConnectionTime
public void setLastConnectionTime(Date lastConnectionTime)
- Parameters:
lastConnectionTime- the lastConnectionTime to set
-
setVendor
public void setVendor(String vendor)
- Parameters:
vendor- the vendor to set
-
setSerialNumber
public void setSerialNumber(String serialNumber)
- Parameters:
serialNumber- the serialNumber to set
-
getVendor
public final String getVendor()
- Returns:
- the vendor
-
getSerialNumber
public final String getSerialNumber()
- Returns:
- the serialNumber
-
getSensorProxy
public long getSensorProxy()
- Returns:
- the sensorProxy
-
setSensorProxy
public void setSensorProxy(long sensorProxy)
- Parameters:
sensorProxy- 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
-
-