IgetBusinessObjectArrayAttribute()

Retrieves the value of an attribute that is a business object array (multiple cardinality).

Syntax

IBusinessObjectArray IgetBusinessObjectArrayAttribute(
     string attributeName);

Parameters

attributeName
The name of the multiple-cardinality attribute whose value is retrieved.

Return Values

An IBusinessObjectArray object that contains the value of the multiple-cardinality attribute.

Exceptions

IAttributeNotSetException
Thrown when the attribute value is not set.

IInvalidAttributeNameException
Thrown when the attribute name is invalid.

IInvalidAttributeTypeException
Thrown when the attribute is not a single-cardinality attribute (it is of some other date type).

IAttributeBlankException
Thrown when the attribute has a blank value.

Example

// Call the BusinessObjectArray method and get the attribute
String arrayAttribute = "Account";
IBusinessObjectArray aBusObj =
     exampleBusObj.IgetBusinessObjectArrayAttribute(arrayAttribute);

Copyright IBM Corp. 2004