isMultipleCard()

Determines if an attribute has multiple cardinality, given the attribute's name or its position in the business object's attribute list.

Syntax

public boolean isMultipleCard(String attrName);
 public boolean isMultipleCard(int position);
 

Parameters

attrName
Is the name of an attribute that is checked for multiple cardinality.
position
Is an integer that specifies the ordinal position of an attribute in the business object's attribute list.

Return values

Returns true if the attribute is a multiple cardinality; otherwise, returns false.

Exceptions

AttributeNotFoundException
Thrown if the position or name specified is not valid for the definition of this business object.

See also

getCardinality(),, hasCardinality()

Copyright IBM Corp. 1997, 2003