setValues()

Sets the values of the hierarchical connector configuration property.

Syntax

public void setValues(Object[] propValues);
 

Parameters

propValues
Is an array of Object values, each array element is a single property value.

Return values

None.

Exceptions

None.

Notes

The setValues() method allows you to set the values of a hierarchical connector configuration property. You specify the property values in the propValues array, which is an array of Objects. Therefore, you can pass both string and child-property values in this single array. Make sure you assign property values in the propValues array in the order that they are defined within the hierarchical connector property.

For example, the following call to setValues() assigns both a string value and a child property to the connector property in topLevelProp:

Object[] propValues;
 CxProperty childProp;
  
 propValues[0] = "stringValue"
 propValue[1] = childProp;
 topLevelProp.setValues(propValues);
 

See also

getHierChildProp(), getConnectorBOHandlerForBO(), getStringValues()

Copyright IBM Corp. 1997, 2003