Siebel Object Interfaces Reference > Siebel eScript Quick Reference >

Property Set Methods for eScript


Table 93 lists a summary of the property set methods' syntax.

Table 93. Property Set Methods Syntax Summary
Method
Description
Syntax

AddChild Method

Adds subsidiary property sets to a property set.

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

Copy Method

Returns a copy of a property set.

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

GetChild Method

Returns a specified child property set of a property set.

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

GetChildCount Method

Returns the number of child property sets attached to a parent property set.

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

GetFirstProperty Method

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

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

GetNextProperty Method

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

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

GetProperty Method

Returns the value of a property when given the property name.

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

GetPropertyCount Method

Returns the number of properties attached to a property set.

var count;
count = oPropSet.GetPropertyCount();

GetType Method

Returns the value stored in a type in a property set.

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

GetValue Method

Returns a value stored as part of a property set.

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

InsertChildAt Method

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

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

PropertyExists Method

Returns a Boolean value indicating whether the property specified in the argument exists.

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

RemoveChild Method

Removes a child property set as a specified index from a parent property set.

var oPropSet;
oPropSet.RemoveChild(index);

RemoveProperty Method

Removes the property specified in its argument from a property set.

var oPropSet;
oPropSet.RemoveProperty(propName);

Reset Method

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

var oPropSet;
oPropSet.Reset();

SetProperty Method

Assigns a value to the property of a property set specified in its argument.

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

SetType Method

Assigns a data value to a type member of a property set.

var oPropSet;
oPropSet.SetType(value);

SetValue Method

Assigns a data value to a value member of a property set.

var oPropSet;
oPropSet.SetValue(value);

Siebel Object Interfaces Reference Copyright © 2008, Oracle. All rights reserved.