Set Verb with Create

Sets the verb of a child business object, creating the child business object if one does not already exist.

Inputs

Business object
The current business object (a BusObj object).

Attribute
A String that specifies the name of the attribute.

Verb
A String that specifies the verb Create.

Exceptions

The Set Verb with Create function block can set the following exception type for a CollaborationException exception:

Notes

If the attribute specified by the Attribute input is of type BusObj and it is null, the new instance of that child business object is created and its verb set to the value of the Verb input. If the instance of this child business object already exists, only its verb is set. If the child business object is of multiple cardinality, the Attribute input must specify the subscript.

Related information

This function block is based on the BusObj.setVerbWithCreate() method.

Copyright IBM Corp. 2004