Platform SDK Java 8.5 API Reference

com.genesyslab.platform.applicationblocks.com.objects
Class CfgDNInfo

java.lang.Object
  extended by com.genesyslab.platform.applicationblocks.com.CfgBase
      extended by com.genesyslab.platform.applicationblocks.com.CfgStructure
          extended by com.genesyslab.platform.applicationblocks.com.objects.CfgDNInfo
All Implemented Interfaces:
ICfgBase, ICfgStructure

public class CfgDNInfo
extends CfgStructure

Information about a DN.


Constructor Summary
CfgDNInfo(IConfService confService, ConfStructure objData, ICfgObject parent)
          This constructor is intended for creation of structures from external or imported XML data.
CfgDNInfo(IConfService confService, ICfgObject parent)
          This constructor is intended for creation of detached objects.
CfgDNInfo(IConfService confService, org.w3c.dom.Node xmlData, ICfgObject parent)
          This constructor is intended for creation of structures from external or imported XML data.
 
Method Summary
 CfgDN getDN()
          A unique identifier of the CfgDN .
 java.lang.Integer getDNDBID()
          Retrieves the dbid of the object that is being linked to by the DN property.
 java.lang.Integer getTrunks()
          Number of trunks associated with this DN.
 void setDN(CfgDN value)
          A unique identifier of the CfgDN .
 void setDNDBID(int dbid)
          A unique identifier of the CfgDN .
 void setTrunks(java.lang.Integer value)
          Number of trunks associated with this DN.
 
Methods inherited from class com.genesyslab.platform.applicationblocks.com.CfgStructure
getParent, updateChildrenSavedState
 
Methods inherited from class com.genesyslab.platform.applicationblocks.com.CfgBase
clone, ensureDataBackup, equals, flushChildrenContent, getConfigurationService, getData, getEndpoint, getLinkListCollection, getLinkValue, getLogger, getMetaData, getProperty, getProperty, getProperty, getRawObjectData, hashCode, initStruct, isSaved, lockObject, reloadObjectWithNewData, resolveLink, setProperty, toString, toStringProperties, toXml
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.genesyslab.platform.applicationblocks.com.ICfgBase
getEndpoint, getProperty, getRawObjectData, setProperty, toXml
 

Constructor Detail

CfgDNInfo

public CfgDNInfo(IConfService confService,
                 ConfStructure objData,
                 ICfgObject parent)
This constructor is intended for creation of structures from external or imported XML data. It is internally used by COM AB for objects and structures deserialization.

Parameters:
confService - configuration service instance
objData - configuration protocol structure data
parent - instance of configuration object as a parent for this structure instance

CfgDNInfo

public CfgDNInfo(IConfService confService,
                 org.w3c.dom.Node xmlData,
                 ICfgObject parent)
This constructor is intended for creation of structures from external or imported XML data. It is internally used by COM AB for objects and structures deserialization.

Parameters:
confService - configuration service instance
xmlData - XML object containing structure data
parent - instance of configuration object as a parent for this structure instance

CfgDNInfo

public CfgDNInfo(IConfService confService,
                 ICfgObject parent)
This constructor is intended for creation of detached objects.

Parameters:
confService - configuration service instance
parent - instance of configuration object as a parent for this structure instance
Method Detail

getDN

public final CfgDN getDN()
A unique identifier of the CfgDN . Mandatory. Once specified, cannot be changed. The same value cannot be repeated within one list.

Returns:
instance of referred object or null

setDN

public final void setDN(CfgDN value)
A unique identifier of the CfgDN . Mandatory. Once specified, cannot be changed. The same value cannot be repeated within one list.

Parameters:
value - new property value
See Also:
getDN()

setDNDBID

public final void setDNDBID(int dbid)
A unique identifier of the CfgDN . Mandatory. Once specified, cannot be changed. The same value cannot be repeated within one list.

Parameters:
dbid - DBID identifier of referred object
See Also:
getDN()

getDNDBID

public final java.lang.Integer getDNDBID()
Retrieves the dbid of the object that is being linked to by the DN property.

Returns:
DBID identifier of referred object or null

getTrunks

public final java.lang.Integer getTrunks()
Number of trunks associated with this DN. Cannot be set to a negative value. Makes sense only for DN groups of CFGNetworkPorts type.

Returns:
property value or null

setTrunks

public final void setTrunks(java.lang.Integer value)
Number of trunks associated with this DN. Cannot be set to a negative value. Makes sense only for DN groups of CFGNetworkPorts type.

Parameters:
value - new property value
See Also:
getTrunks()

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.