org.netxms.client
Class NXCObjectCreationData
java.lang.Object
org.netxms.client.NXCObjectCreationData
public class NXCObjectCreationData
- extends java.lang.Object
NetXMS object creation data
Constructor Summary |
NXCObjectCreationData(int objectClass,
java.lang.String name,
long parentId)
Constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
NXCObjectCreationData
public NXCObjectCreationData(int objectClass,
java.lang.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:
GenericObject
getObjectClass
public int getObjectClass()
- Returns:
- the objectClass
setObjectClass
public void setObjectClass(int objectClass)
- Parameters:
objectClass
- the objectClass to set
getName
public java.lang.String getName()
- Returns:
- the name
setName
public void setName(java.lang.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 java.lang.String getComments()
- Returns:
- the comments
setComments
public void setComments(java.lang.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 java.net.InetAddress getIpAddress()
- Returns:
- the ipAddress
setIpAddress
public void setIpAddress(java.net.InetAddress ipAddress)
- Parameters:
ipAddress
- the ipAddress to set
getIpNetMask
public java.net.InetAddress getIpNetMask()
- Returns:
- the ipNetMask
setIpNetMask
public void setIpNetMask(java.net.InetAddress ipNetMask)
- Parameters:
ipNetMask
- the ipNetMask 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
getMapType
public int getMapType()
- Returns:
- the mapType
setMapType
public void setMapType(int mapType)
- Parameters:
mapType
- the mapType to set
getSeedObjectId
public long getSeedObjectId()
- Returns:
- the seedObjectId
setSeedObjectId
public void setSeedObjectId(long seedObjectId)
- Parameters:
seedObjectId
- the seedObjectId to set
getZoneId
public long getZoneId()
- Returns:
- the zoneId
setZoneId
public void setZoneId(long zoneId)
- Parameters:
zoneId
- 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 java.lang.String getRequest()
- Returns:
- the request
setRequest
public void setRequest(java.lang.String request)
- Parameters:
request
- the request to set
getResponse
public java.lang.String getResponse()
- Returns:
- the response
setResponse
public void setResponse(java.lang.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 java.lang.String getPrimaryName()
- Returns:
- the primaryName
setPrimaryName
public void setPrimaryName(java.lang.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 MacAddress getMacAddress()
- Returns:
- the macAddress
setMacAddress
public void setMacAddress(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
getSlot
public int getSlot()
- Returns:
- the slot
setSlot
public void setSlot(int slot)
- Parameters:
slot
- the slot 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
Copyright © 2012. All Rights Reserved.