hasCardinality()

Determines whether an attribute has a specified cardinality.

Syntax

unsigned char hasCardinality(char * card);
  

Parameters

card [in]
is 1 for single cardinality and n for multiple cardinality.

Return values

TRUE if the attribute has the specified cardinality or FALSE if it does not.

Notes

This operation applies only to attributes that contain child business objects.

If you specify the cardinality as null, the hasCardinality() method returns FALSE.

See also

getCardinality(), getRelationType(), isMultipleCard()

Copyright IBM Corp. 1997, 2003