getCardinality()

Retrieves the cardinality of the connector configuration property.

Syntax

public int getCardinality();

Parameters

None.

Return values

An integer that indicates the cardinality of the connector configuration property. Compare this integer value with the following connector-property constants to determine the cardinality:

CWConnectorConstant.SINGLE_VALUED
The connector configuration property has single cardinality; that is, it contains only one value.
CWConnectorConstant.MULTI_VALUED
The connector configuration property has multiple cardinality; that is, it contains more than one value.

Exceptions

None.

Notes

The getCardinality() method retrieves the cardinality of a connector configuration property, which indicates whether the property contains one or many values. Use this method to determine how to retrieve the property values:

Copyright IBM Corporation 1997, 2004. All Rights Reserved.