getAllChildProps()

Retrieves all child properties for the hierarchical connector configuration property.

Syntax

public CxProperty[] getAllChildProps();
 

Parameters

None.

Return values

A reference to an array of CxProperty objects, each of which represents one connector property in the hierarchical connector property. If the hierarchical connector property does not contain any child properties, the method returns null.

Exceptions

None.

Notes

The getAllChildProps() method retrieves all child properties for the hierarchical connector configuration property. The retrieved properties are only those of the children of the current hierarchical property; they do not include any grandchildren, great-grandchildren, and so on. To retrieve child properties at lower levels in the hierarchy, you must first obtain the connector-property object for a property at a particular level and then use a method such as getAllChildProps() or getChildProp() to retrieve its children.

Note:
You can use the getChildProp() to retrieve a specified child, grandchild, and so on down the property hierarchy.

To retrieve a specified child property, use the getChildProp() method. To retrieve all child properties with a specified prefix, you can use the getChildPropsWithPrefix() method.

See also

getChildProp()

Copyright IBM Corp. 1997, 2003