Duplicate

Creates a business object exactly like the original one.

Inputs

original
The business object (a BusObj object) to be duplicated.

Output

Returns the duplicated business object.

Exceptions

The Duplicate function block can set the exception type of a CollaborationException object to ObjectException.

Notes

This function block makes a clone of the business object and returns it. You must explicitly assign the return value of this function block to a declared variable of type BusObj.

Related information

This function block is based on the BusObj.duplicate() method. For more information, see duplicate().

Copyright IBM Corp. 1997, 2004