doMergeHash()

Groups a collection of business objects under a new parent business object, as specified by the split level. Business objects are grouped by like content in the key attribute or attributes.

Syntax

java.util.Vector doMergeHash(java.util.Vector BusObj, 
           String Level, 
           String KeyAttr)
 

Parameters

BusObj
Specifies a vector that contains the collection of business objects to be merged.

Level
Specifies the merge level, which comprises the type of the parent business object (its business object definition) and the attribute designated to hold the child business object. Names are delimited by a period (.).

KeyAttr
Specifies the business object's attributes that are used as merging criteria. Nalues are delimited by a comma (,).

Return values

Returns the vector of merged business objects.

Exceptions

CollaborationException--Thrown if an error occurs while merging the business objects.

Copyright IBM Corp. 2003, 2004