getCardinality()

Retrieves the cardinality of the attribute, for an attribute that represents a child business object or an array of child business objects.

Syntax

public String getCardinality();
 

Parameters

None.

Return values

A String that contains the cardinality of an attribute that represents a child business object or array of child business objects. Compare this string value with the following cardinality constants:

BusObjAttr.CARD_SINGLE
The attribute has single cardinality.
BusObjAttr.CARD_MULTIPLE
The attribute has multiple cardinality.

See also

setCardinality()

Copyright IBM Corp. 1997, 2004