setVerbWithCreate()

Create the instance of the child business object and set its verb.

Syntax

void setVerbWithCreate(String attributeName, String verb) 
 

Parameters

attributeName
The name of the child business object created
verb
The verb to be set.

Exceptions

CollaborationException--The setVerbWithCreate() method can set the following exception type for this exception:

Notes

If the attribute specified by the attributeName parameter 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 parameter. If the instance of this child business object already exists, only its verb is set. If the child business object is of multi-cardinality, the attributeName parameter should specify the subscript.

Examples

The following example creates an instance of the childBO child business object and sets its verb to Create:

myBO.setVerbWithCreate("childBO", "Create");
 

Copyright IBM Corp. 2003