Platform SDK Java 8.5 API Reference

com.genesyslab.platform.applicationblocks.com.objects
Class CfgObjectResource

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.CfgObjectResource
All Implemented Interfaces:
ICfgBase, ICfgStructure

public class CfgObjectResource
extends CfgStructure

CfgObjectResource contains information about object's resource and related optional parameters. The role of the resource and content of optional parameter is dictated by the value resourceType property. See CfgResourceType .


Constructor Summary
CfgObjectResource(IConfService confService, ConfStructure objData, ICfgObject parent)
          This constructor is intended for creation of structures from external or imported XML data.
CfgObjectResource(IConfService confService, ICfgObject parent)
          This constructor is intended for creation of detached objects.
CfgObjectResource(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 getCharField1()
          Optional text field #1.
 java.lang.String getCharField2()
          Optional text field #2.
 java.lang.String getCharField3()
          Optional text field #3.
 java.lang.String getCharField4()
          Optional text field #4.
 java.lang.String getDescription()
          Optional description of the resource.
 java.lang.Integer getLongField1()
          Optional integer field #1.
 java.lang.Integer getLongField2()
          Optional integer field #2.
 java.lang.Integer getLongField3()
          Optional integer field #3.
 java.lang.Integer getLongField4()
          Optional integer field #4.
 java.lang.Integer getObjectDBID()
          An identifier of the object referred by this resource.
 CfgObjectType getObjectType()
          Type of the object referred by this resource.
 CfgResourceType getResourceType()
          Type of the resource.
 void setCharField1(java.lang.String value)
          Optional text field #1.
 void setCharField2(java.lang.String value)
          Optional text field #2.
 void setCharField3(java.lang.String value)
          Optional text field #3.
 void setCharField4(java.lang.String value)
          Optional text field #4.
 void setDescription(java.lang.String value)
          Optional description of the resource.
 void setLongField1(java.lang.Integer value)
          Optional integer field #1.
 void setLongField2(java.lang.Integer value)
          Optional integer field #2.
 void setLongField3(java.lang.Integer value)
          Optional integer field #3.
 void setLongField4(java.lang.Integer value)
          Optional integer field #4.
 void setObjectDBID(java.lang.Integer value)
          An identifier of the object referred by this resource.
 void setObjectType(CfgObjectType value)
          Type of the object referred by this resource.
 void setResourceType(CfgResourceType value)
          Type of the resource.
 
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

CfgObjectResource

public CfgObjectResource(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

CfgObjectResource

public CfgObjectResource(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

CfgObjectResource

public CfgObjectResource(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

getResourceType

public final CfgResourceType getResourceType()
Type of the resource. See type CfgResourceType . Mandatory.

Returns:
property value or null

setResourceType

public final void setResourceType(CfgResourceType value)
Type of the resource. See type CfgResourceType . Mandatory.

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

getObjectDBID

public final java.lang.Integer getObjectDBID()
An identifier of the object referred by this resource. Type of the object is defined by objectType property

Returns:
property value or null

setObjectDBID

public final void setObjectDBID(java.lang.Integer value)
An identifier of the object referred by this resource. Type of the object is defined by objectType property

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

getObjectType

public final CfgObjectType getObjectType()
Type of the object referred by this resource. See type CfgObjectType . Mandatory.

Returns:
property value or null

setObjectType

public final void setObjectType(CfgObjectType value)
Type of the object referred by this resource. See type CfgObjectType . Mandatory.

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

getDescription

public final java.lang.String getDescription()
Optional description of the resource.

Returns:
property value or null

setDescription

public final void setDescription(java.lang.String value)
Optional description of the resource.

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

getCharField1

public final java.lang.String getCharField1()
Optional text field #1.

Returns:
property value or null

setCharField1

public final void setCharField1(java.lang.String value)
Optional text field #1.

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

getCharField2

public final java.lang.String getCharField2()
Optional text field #2.

Returns:
property value or null

setCharField2

public final void setCharField2(java.lang.String value)
Optional text field #2.

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

getCharField3

public final java.lang.String getCharField3()
Optional text field #3.

Returns:
property value or null

setCharField3

public final void setCharField3(java.lang.String value)
Optional text field #3.

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

getCharField4

public final java.lang.String getCharField4()
Optional text field #4.

Returns:
property value or null

setCharField4

public final void setCharField4(java.lang.String value)
Optional text field #4.

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

getLongField1

public final java.lang.Integer getLongField1()
Optional integer field #1.

Returns:
property value or null

setLongField1

public final void setLongField1(java.lang.Integer value)
Optional integer field #1.

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

getLongField2

public final java.lang.Integer getLongField2()
Optional integer field #2.

Returns:
property value or null

setLongField2

public final void setLongField2(java.lang.Integer value)
Optional integer field #2.

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

getLongField3

public final java.lang.Integer getLongField3()
Optional integer field #3.

Returns:
property value or null

setLongField3

public final void setLongField3(java.lang.Integer value)
Optional integer field #3.

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

getLongField4

public final java.lang.Integer getLongField4()
Optional integer field #4.

Returns:
property value or null

setLongField4

public final void setLongField4(java.lang.Integer value)
Optional integer field #4.

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

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.