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:
To obtain all child properties | getHierChildProps() |
To obtain a specified child property | getHierChildProp() |
To obtain all string values | getStringValues() |
To obtain the string values of a specified child property | getChildPropValue() |
See also
getChildPropValue(), getHierChildProp(), getConnectorBOHandlerForBO(), getStringValues(),getVersion()