hasValue()

Determines whether the current hierarhical connector property has any string values.

Syntax

public boolean hasValue();
 

Parameters

None.

Return values

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

Exceptions

None.

Notes

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

See also

hasChildren(),

Copyright IBM Corp. 1997, 2004