org.netxms.client
Class NXCObjectCreationData

java.lang.Object
  extended by org.netxms.client.NXCObjectCreationData

public class NXCObjectCreationData
extends java.lang.Object

Author:
Victor

Field Summary
static int CF_CREATE_UNMANAGED
           
static int CF_DISABLE_ICMP
           
static int CF_DISABLE_NXCP
           
static int CF_DISABLE_SNMP
           
 
Constructor Summary
NXCObjectCreationData(int objectClass, java.lang.String name, long parentId)
          Constructor.
 
Method Summary
 long getAgentProxyId()
           
 java.lang.String getComments()
           
 int getCreationFlags()
           
 java.net.InetAddress getIpAddress()
           
 java.net.InetAddress getIpNetMask()
           
 int getMapType()
           
 java.lang.String getName()
           
 int getObjectClass()
           
 long getParentId()
           
 long getSeedObjectId()
           
 long getSnmpProxyId()
           
 void setAgentProxyId(long agentProxyId)
           
 void setComments(java.lang.String comments)
           
 void setCreationFlags(int creationFlags)
           
 void setIpAddress(java.net.InetAddress ipAddress)
           
 void setIpNetMask(java.net.InetAddress ipNetMask)
           
 void setMapType(int mapType)
           
 void setName(java.lang.String name)
           
 void setObjectClass(int objectClass)
           
 void setParentId(long parentId)
           
 void setSeedObjectId(long seedObjectId)
           
 void setSnmpProxyId(long snmpProxyId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

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 object
parentId - Parent object ID
See Also:
GenericObject
Method Detail

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


Copyright © 2011. All Rights Reserved.