getVerb()

Retrieves the specified verb from the business object definition's verb list.

Syntax

public BusObjVerb getVerb(String verb);

Parameters

verb
Is the name of the verb to retrieve from the business object definition's verb list.

Return values

The verb (BusObjVerb) object for the specified verb in the business object definition's verb list.

Exceptions

BusObjNoSuchVerbException
Thrown if the specified verb does not exist.

Notes

The getVerb() method retrieves a verb from the business object definition's verb list. It returns this verb as a verb object (BusObjVerb). You can use methods of the BusObjVerb class to obtain information about the verb.

See also

getVerbCount(), getVerbList()

Copyright IBM Corp. 1997, 2003