Siebel Object Interfaces Reference > Mobile Web Client Automation Server Quick Reference > Object Interfaces Reference >

Property Set Methods for the Mobile Web Client Automation Server


Table 154 describes a summary of the property set methods you can use with the Mobile Web Client Automation Server.

Table 154. Summary of Property Set Methods for the Mobile Web Client Automation Server
Method
Description
Format

AddChild Method for a Property Set

Adds child property sets to a property set.

Dim oPropSet as SiebelPropertyset
oPropSet.AddChild(childObject as SiebelPropertySet)

Copy Method for a Property Set

Returns a copy of a property set.

Dim oPropSet1 as SiebelPropertyset
Dim oPropSet2 as SiebelPropertyset
set oPropSet2 = oPropSet1.Copy

GetChild Method for a Property Set

Returns a child property set of a property set.

Dim oPropSet as SiebelPropertySet
Dim childPropSet as SiebelPropertySet
set childPropSet = oPropSet.GetChild(index as Long)

GetChildCount Method for a Property Set

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

Dim oPropSet as SiebelPropertySet
Dim iCount as Long
iCount = oPropSet.GetChildCount

GetFirstProperty Method for a Property Set

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

Dim oPropSet as SiebelPropertySet
Dim sPropName as String
sPropName = oPropSet.GetFirstProperty

GetLastErrCode Method for a Property Set

Returns the error code for the error that Siebel CRM logged most recently.

Dim oPropSet as SiebelPropertySet
Dim iErr as Integer
iErr = oPropSet.GetLastErrCode

GetLastErrText Method for a Property Set

Returns the text message for the error that Siebel CRM logged most recently.

Dim oPropSet as SiebelPropertySet
Dim sValue as String
sValue = oPropSet.GetLastErrText

GetNextProperty Method for a Property Set

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

Dim oPropSet as SiebelPropertySet
Dim sPropName as String
sPropName = oPropSet.GetNextProperty

GetProperty Method for a Property Set

Returns the value of a property.

Dim oPropSet as SiebelPropertySet
Dim sPropVal as String
sPropVal = oPropSet.GetProperty(propName as String)

GetPropertyCount Method for a Property Set

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

Dim oPropSet as SiebelPropertySet
Dim lCount as Long
lCount = oPropSet.GetPropertyCount

GetType Method for a Property Set

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

Dim oPropSet as SiebelPropertySet
Dim sTypeVal as String
sTypeVal = oPropSet.GetType

GetValue Method for a Property Set

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

Dim oPropSet as SiebelPropertySet
Dim sValVal as String
sValVal = oPropSet.GetValue

InsertChildAt Method for a Property Set

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

Dim oPropSet as SiebelPropertySet
oPropSet.InsertChildAt(childObject as SiebelPropertySet, index as Long)

PropertyExists Method for a Property Set

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

Dim oPropSet as SiebelPropertySet
Dim bool as Boolean
bool = oPropSet.PropertyExists(propName as String)

RemoveChild Method for a Property Set

Removes a child property set from a parent property set.

Dim oPropSet as SiebelPropertySet
oPropSet.RemoveChild(index as Long)

RemoveProperty Method for a Property Set

Removes a property from a property set.

Dim oPropSet as SiebelPropertySet
oPropSet.RemoveProperty(propName as String)

Reset Method for a Property Set

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

Dim oPropSet as SiebelPropertySet
oPropSet.Reset

SetProperty Method for a Property Set

Sets a value in the property of a property set.

Dim oPropSet as SiebelPropertySet
oPropSet.SetProperty(propName as String, propValue as String)

SetType Method for a Property Set

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

Dim oPropSet as SiebelPropertySet
oPropSet.SetType(value as String)

SetValue Method for a Property Set

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

Dim oPropSet as SiebelPropertySet
oPropSet.SetValue(value as String)

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