doAgg()

Aggregates like container attributes into a single container attribute according to user-specified criteria and the list of attributes to be aggregated.

Syntax

BusObj doAgg(BusObj inBusObj, 
           String Level, 
           String KeyAttr, 
           String Attr)
 

Parameters

inBusObj
Specifies the business object to be aggregated.

Level
Specifies the aggregation level, which comprises the type of the business object (its business object definition) and the name of the array attribute to aggregate. Names are delimited by a period (.).

KeyAttr
Specifies the key attributes of the business object used for aggregation.

Attr
Specifies the attributes to be aggregated. Multiple names are delimited by a comma (,).

Return values

Returns the aggregated business object.

Exceptions

CollaborationException--Thrown if an error occurs during aggregation of the business object attributes.

Copyright IBM Corp. 2003, 2004