hasChildren()

Determines whether the current connector property contains any child properties.

Syntax

public boolean hasChildren();
 

Parameters

None.

Return values

A boolean that indicates whether the hierarchical connector property contains any child properties. The method returns true if it does contain child properties; otherwise, it returns false.

Exceptions

None.

Notes

The hasChildren() method is useful for determining which of the CWProperty methods to use to extract the value of a hierarchical connector property:

See also

getChildPropValue(),, getHierChildProp(),, getHierChildProps(),, getStringValues(),, hasValue()

Copyright IBM Corp. 1997, 2003