|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.applicationblocks.com.CfgBase
com.genesyslab.platform.applicationblocks.com.CfgStructure
com.genesyslab.platform.applicationblocks.com.objects.CfgSwitchAccessCode
public class CfgSwitchAccessCode
CfgSwitchAccessCode contains a list of Access Codes that are used to place, route, or transfer calls from its Switch to other Switches in a multi-site installation. Depending on the structure of a numbering plan, you may or may not need access codes to reach DNs that belong to different Switches of a multi-site telephone network. You can modify (that is, create, change, or delete) the contents of the Access Codes for a particular Switch or for a set of Switches. Uniqueness of a switch access code is defined by the combination of values of its first three properties, i.e.,
switchDBID
,
accessCode
, and targetType
.
Thus, when a certain access code is to be deleted, it is necessary
and sufficient to specify those three parameters in the corresponding
item of the deletedSwitchAccessCodes
list in CfgDeltaSwitch
.
Function TRouteCall
is a function of the T-Library
and is defined in the T-Library SDK C Developer's Guide.
See also
CfgSwitch
.
If targetType=CFGTargetISCC
the dnSource
property
is used for definition of ISCC protocol parameters and presented
on GUI (Configuration Manager) with caption _ISCC Protocol Parameters_.
If targetType=CFGTargetISCC
the destinationSource
property
is used for definition of ISCC call overflow parameters and presented
on GUI (Configuration Manager) with caption _ISCC Call Overflow
Parameters_.
Constructor Summary | |
---|---|
CfgSwitchAccessCode(IConfService confService,
ConfStructure objData,
ICfgObject parent)
This constructor is intended for creation of structures from external or imported XML data. |
|
CfgSwitchAccessCode(IConfService confService,
ICfgObject parent)
This constructor is intended for creation of detached objects. |
|
CfgSwitchAccessCode(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 | |
---|---|
java.lang.String |
getAccessCode()
A pointer to the access code. |
java.lang.String |
getDestinationSource()
Source of information to specify parameter destination in function TRouteCall.
See comments. |
java.lang.String |
getDnisSource()
Source of information to specify parameter dnis in function TRouteCall . |
java.lang.String |
getDnSource()
Source of information to specify parameter dn in function TRouteCall.
See comments. |
java.lang.String |
getExtensionSource()
Source of information to specify parameter extensions in function TRouteCall . |
java.lang.String |
getLocationSource()
Source of information to specify parameter location in function TRouteCall . |
java.lang.String |
getReasonSource()
Source of information to specify parameter reasons in function TRouteCall . |
CfgRouteType |
getRouteType()
Type of routing for the target specified in targetType for this switch. |
CfgSwitch |
getSwitch()
A unique identifier of the
Switch
to which this access code is assigned. |
java.lang.Integer |
getSwitchDBID()
Retrieves the dbid of the object that is being linked to by the Switch property. |
CfgTargetType |
getTargetType()
Type of the target within the switch specified by switchDBID for which all the routing parameters
below are specified. |
void |
setAccessCode(java.lang.String value)
A pointer to the access code. |
void |
setDestinationSource(java.lang.String value)
Source of information to specify parameter destination in function TRouteCall.
See comments. |
void |
setDnisSource(java.lang.String value)
Source of information to specify parameter dnis in function TRouteCall . |
void |
setDnSource(java.lang.String value)
Source of information to specify parameter dn in function TRouteCall.
See comments. |
void |
setExtensionSource(java.lang.String value)
Source of information to specify parameter extensions in function TRouteCall . |
void |
setLocationSource(java.lang.String value)
Source of information to specify parameter location in function TRouteCall . |
void |
setReasonSource(java.lang.String value)
Source of information to specify parameter reasons in function TRouteCall . |
void |
setRouteType(CfgRouteType value)
Type of routing for the target specified in targetType for this switch. |
void |
setSwitch(CfgSwitch value)
A unique identifier of the
Switch
to which this access code is assigned. |
void |
setSwitchDBID(int dbid)
A unique identifier of the
Switch
to which this access code is assigned. |
void |
setTargetType(CfgTargetType value)
Type of the target within the switch specified by switchDBID for which all the routing parameters
below are specified. |
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 |
---|
public CfgSwitchAccessCode(IConfService confService, ConfStructure objData, ICfgObject parent)
confService
- configuration service instanceobjData
- configuration protocol structure dataparent
- instance of configuration object as a parent for this structure instancepublic CfgSwitchAccessCode(IConfService confService, org.w3c.dom.Node xmlData, ICfgObject parent)
confService
- configuration service instancexmlData
- XML object containing structure dataparent
- instance of configuration object as a parent for this structure instancepublic CfgSwitchAccessCode(IConfService confService, ICfgObject parent)
confService
- configuration service instanceparent
- instance of configuration object as a parent for this structure instanceMethod Detail |
---|
public final CfgSwitch getSwitch()
Switch
to which this access code is assigned. Mandatory. If value is set
to 0 the accessCode value is used as default access to this switch
if no other access code is specified on source switch to access
this switch.
public final void setSwitch(CfgSwitch value)
Switch
to which this access code is assigned. Mandatory. If value is set
to 0 the accessCode value is used as default access to this switch
if no other access code is specified on source switch to access
this switch.
value
- new property valuegetSwitch()
public final void setSwitchDBID(int dbid)
Switch
to which this access code is assigned. Mandatory. If value is set
to 0 the accessCode value is used as default access to this switch
if no other access code is specified on source switch to access
this switch.
dbid
- DBID identifier of referred objectgetSwitch()
public final java.lang.Integer getSwitchDBID()
public final java.lang.String getAccessCode()
public final void setAccessCode(java.lang.String value)
value
- new property valuegetAccessCode()
public final CfgTargetType getTargetType()
switchDBID
for which all the routing parameters
below are specified. See
CfgTargetType
.
public final void setTargetType(CfgTargetType value)
switchDBID
for which all the routing parameters
below are specified. See
CfgTargetType
.
value
- new property valuegetTargetType()
public final CfgRouteType getRouteType()
targetType
for this switch.
See
CfgRouteType
.
public final void setRouteType(CfgRouteType value)
targetType
for this switch.
See
CfgRouteType
.
value
- new property valuegetRouteType()
public final java.lang.String getDnSource()
dn
in function TRouteCall.
See comments.
public final void setDnSource(java.lang.String value)
dn
in function TRouteCall.
See comments.
value
- new property valuegetDnSource()
public final java.lang.String getDestinationSource()
destination
in function TRouteCall.
See comments.
public final void setDestinationSource(java.lang.String value)
destination
in function TRouteCall.
See comments.
value
- new property valuegetDestinationSource()
public final java.lang.String getLocationSource()
location
in function TRouteCall
.
public final void setLocationSource(java.lang.String value)
location
in function TRouteCall
.
value
- new property valuegetLocationSource()
public final java.lang.String getDnisSource()
dnis
in function TRouteCall
.
public final void setDnisSource(java.lang.String value)
dnis
in function TRouteCall
.
value
- new property valuegetDnisSource()
public final java.lang.String getReasonSource()
reasons
in function TRouteCall
.
public final void setReasonSource(java.lang.String value)
reasons
in function TRouteCall
.
value
- new property valuegetReasonSource()
public final java.lang.String getExtensionSource()
extensions
in function TRouteCall
.
public final void setExtensionSource(java.lang.String value)
extensions
in function TRouteCall
.
value
- new property valuegetExtensionSource()
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |