getStringValues()

Retrieves all string values for the hierarchical connector configuration property.

Syntax

public String[] getStringValues();
 

Parameters

None.

Return values

A reference to an array of String objects, each of which represents one string value for the hierarchical connector property. If the hierarchical connector property does not contain any string values, the method returns null.

Exceptions

None.

Notes

The getStringValues() method retrieves all string values for the hierarchical connector configuration property. The retrieved string values are only those of the current hierarchical property; they do not include any values in child properties. To retrieve string values at lower levels in the hierarchy, you can do either of the following:

Before a call to getStringValues(), you can use the hasValue() method to determine if the hierarchical connector property has any string values. To retrieve child properties, use the getHierChildProp() or getHierChildProps() method.

If a hierarchical connector property has encrypted string values (its encrypted flag is true), the getStringValues() returns the unencrypted values. You do not have to handle decryption.

See also

getChildPropValue(), getHierChildProp(), getHierChildProps(), hasValue(), setValues()

Copyright IBM Corp. 1997, 2003