Siebel Object Interfaces Reference > Siebel eScript Quick Reference > Object Interfaces Reference >

Property Set Methods for Siebel eScript


Table 130 describes a summary of property set methods you can use with Siebel eScript.

Table 130. Summary of Property Set Methods for Siebel eScript
Method
Description
Format

AddChild Method for a Property Set

Adds a child property set to a property set.

var oPropSet;
var iIndex;
iIndex = oPropSet.AddChild( childObject);

Copy Method for a Property Set

Returns a copy of a property set.

var oPropSet1;
var oPropSet2;
oPropSet2 = oPropSet1.Copy();

GetChild Method for a Property Set

Returns the index number of a child property set.

var oPropSet;
var sPropVal;
sPropVal = oPropSet.GetChild(index);

GetChildCount Method for a Property Set

Returns the number of child property sets that exist for a parent property set.

var oPropSet;
var iCount;
iCount = oPropSet.GetChildCount();

GetFirstProperty Method for a Property Set

Returns the name of the first property in a property set.

var oPropSet;
var sPropName;
sPropName = oPropSet.GetFirstProperty();

GetNextProperty Method for a Property Set

Returns the name of the next property in a property set.

var oPropSet;
var sPropName
sPropName = oPropSet.GetNextProperty();

GetProperty Method for a Property Set

Returns the value of a property.

var oPropSet;
var sPropVal
sPropVal = oPropSet.GetProperty(propName);

GetPropertyCount Method for a Property Set

Returns the number of properties that exist in the current level in the hierarchy.

var count;
count = oPropSet.GetPropertyCount();

GetType Method for a Property Set

Returns the value of the type attribute of a property set.

var oPropSet;
var sTypeVal
sTypeVal = oPropSet.GetType(value);

GetValue Method for a Property Set

Returns the value of the value attribute of a property set.

var oPropSet;
var sValVal;
sValVal = oPropSet.GetValue(value);

InsertChildAt Method for a Property Set

Inserts a child property set in a parent property set at a specific location.

var oPropSet;
oPropSet.InsertChildAt(childObject, index);

PropertyExists Method for a Property Set

Returns a Boolean value that indicates if the property that the argument identifies exists.

Dim oService as SiebelService
Dim propExists as Boolean
propExists = oService.PropertyExists(propName)

RemoveChild Method for a Property Set

Removes a child property set from a parent property set.

var oPropSet;
oPropSet.RemoveChild(index);

RemoveProperty Method for a Property Set

Removes a property from a property set.

var oPropSet;
oPropSet.RemoveProperty(propName);

Reset Method for a Property Set

Removes every property and child property set from a property set.

var oPropSet;
oPropSet.Reset();

SetProperty Method for a Property Set

Sets a value in the property of a property set.

var oPropSet;
oPropSet.SetProperty (propName, propValue);

SetType Method for a Property Set

Sets the value for the type attribute of a property set.

var oPropSet;
oPropSet.SetType(value);

SetValue Method for a Property Set

Sets the value for the value attribute of a property set.

var oPropSet;
oPropSet.SetValue(value);

Siebel Object Interfaces Reference Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.