setVerb()

Sets the active verb for a business object.

Syntax

public void setVerb(String newVerb);

Parameters

newVerb
Is a verb that is in the verb list of the business object definition to which the business object refers.

Return values

None.

Exceptions

BusObjInvalidVerbException
Thrown if the verb passed in is not a valid verb in the business object definition.

Notes

The business object definition contains the list of verbs that the business object supports. The verb that you set as the active verb must be on this list. Only one verb is active at a time for a business object.

All business objects typically support the Create, Retrieve, and Update verbs. A business object might support additional verbs, such as Delete. Every connector that supports the business object must implement all the verbs that it supports.

See also

See also the descriptions of the getVerb() method.

Copyright IBM Corp. 1997, 2004