public class NXCObjectCreationData extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CF_CREATE_UNMANAGED |
static int |
CF_DISABLE_ICMP |
static int |
CF_DISABLE_NXCP |
static int |
CF_DISABLE_SNMP |
| Constructor and Description |
|---|
NXCObjectCreationData(int objectClass,
String name,
long parentId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAgentPort() |
long |
getAgentProxyId() |
String |
getComments() |
int |
getCreationFlags() |
String |
getDeviceId() |
int |
getFlags() |
int |
getHeight() |
int |
getIfIndex() |
int |
getIfType() |
org.netxms.base.InetAddressEx |
getIpAddress() |
int |
getIpPort() |
int |
getIpProtocol() |
long |
getLinkedNodeId() |
MacAddress |
getMacAddress() |
int |
getMapType() |
String |
getName() |
int |
getObjectClass() |
long |
getParentId() |
int |
getPort() |
String |
getPrimaryName() |
String |
getRequest() |
String |
getResponse() |
long |
getSeedObjectId() |
int |
getServiceType() |
int |
getSlot() |
int |
getSnmpPort() |
long |
getSnmpProxyId() |
long |
getZoneId() |
boolean |
isCreateStatusDci() |
boolean |
isPhysicalPort() |
boolean |
isTemplate() |
void |
setAgentPort(int agentPort) |
void |
setAgentProxyId(long agentProxyId) |
void |
setComments(String comments) |
void |
setCreateStatusDci(boolean createStatusDci) |
void |
setCreationFlags(int creationFlags) |
void |
setDeviceId(String deviceId) |
void |
setFlags(int flags) |
void |
setHeight(int height) |
void |
setIfIndex(int ifIndex) |
void |
setIfType(int ifType) |
void |
setIpAddress(org.netxms.base.InetAddressEx ipAddress) |
void |
setIpPort(int ipPort) |
void |
setIpProtocol(int ipProtocol) |
void |
setLinkedNodeId(long linkedNodeId) |
void |
setMacAddress(MacAddress macAddress) |
void |
setMapType(int mapType) |
void |
setName(String name) |
void |
setObjectClass(int objectClass) |
void |
setParentId(long parentId) |
void |
setPhysicalPort(boolean physicalPort) |
void |
setPort(int port) |
void |
setPrimaryName(String primaryName) |
void |
setRequest(String request) |
void |
setResponse(String response) |
void |
setSeedObjectId(long seedObjectId) |
void |
setServiceType(int serviceType) |
void |
setSlot(int slot) |
void |
setSnmpPort(int snmpPort) |
void |
setSnmpProxyId(long snmpProxyId) |
void |
setTemplate(boolean template) |
void |
setZoneId(long zoneId) |
public static int CF_DISABLE_ICMP
public static int CF_DISABLE_NXCP
public static int CF_DISABLE_SNMP
public static int CF_CREATE_UNMANAGED
public NXCObjectCreationData(int objectClass,
String name,
long parentId)
objectClass - Class of new object (one of NXCObject.OBJECT_xxx constants)name - Name of new objectparentId - Parent object IDAbstractObjectpublic int getObjectClass()
public void setObjectClass(int objectClass)
objectClass - the objectClass to setpublic String getName()
public void setName(String name)
name - the name to setpublic long getParentId()
public void setParentId(long parentId)
parentId - the parentId to setpublic String getComments()
public void setComments(String comments)
comments - the comments to setpublic int getCreationFlags()
public void setCreationFlags(int creationFlags)
creationFlags - Node creation flags (combination of NXCObjectCreationData.CF_xxx constants)public org.netxms.base.InetAddressEx getIpAddress()
public void setIpAddress(org.netxms.base.InetAddressEx ipAddress)
ipAddress - the ipAddress to setpublic long getAgentProxyId()
public void setAgentProxyId(long agentProxyId)
agentProxyId - the agentProxyId to setpublic long getSnmpProxyId()
public void setSnmpProxyId(long snmpProxyId)
snmpProxyId - the snmpProxyId to setpublic int getMapType()
public void setMapType(int mapType)
mapType - the mapType to setpublic long getSeedObjectId()
public void setSeedObjectId(long seedObjectId)
seedObjectId - the seedObjectId to setpublic long getZoneId()
public void setZoneId(long zoneId)
zoneId - the zoneId to setpublic int getServiceType()
public void setServiceType(int serviceType)
serviceType - the serviceType to setpublic int getIpProtocol()
public void setIpProtocol(int ipProtocol)
ipProtocol - the ipProtocol to setpublic int getIpPort()
public void setIpPort(int ipPort)
ipPort - the ipPort to setpublic String getRequest()
public void setRequest(String request)
request - the request to setpublic String getResponse()
public void setResponse(String response)
response - the response to setpublic long getLinkedNodeId()
public void setLinkedNodeId(long linkedNodeId)
linkedNodeId - the linkedNodeId to setpublic String getPrimaryName()
public void setPrimaryName(String primaryName)
primaryName - the primaryName to setpublic boolean isTemplate()
public void setTemplate(boolean template)
template - the template to setpublic MacAddress getMacAddress()
public void setMacAddress(MacAddress macAddress)
macAddress - the macAddress to setpublic int getIfIndex()
public void setIfIndex(int ifIndex)
ifIndex - the ifIndex to setpublic int getIfType()
public void setIfType(int ifType)
ifType - the ifType to setpublic int getSlot()
public void setSlot(int slot)
slot - the slot to setpublic int getPort()
public void setPort(int port)
port - the port to setpublic boolean isPhysicalPort()
public void setPhysicalPort(boolean physicalPort)
physicalPort - the physicalPort to setpublic boolean isCreateStatusDci()
public void setCreateStatusDci(boolean createStatusDci)
createStatusDci - the createStatusDci to setpublic int getAgentPort()
public void setAgentPort(int agentPort)
agentPort - the agentPort to setpublic int getSnmpPort()
public void setSnmpPort(int snmpPort)
snmpPort - the snmpPort to setpublic final String getDeviceId()
public final void setDeviceId(String deviceId)
deviceId - the deviceId to setpublic int getHeight()
public void setHeight(int height)
height - the height to setpublic int getFlags()
public void setFlags(int flags)
flags - the flags to setCopyright © 2016. All rights reserved.