BusObjSpec class

Each instance of a BusObjSpec class defines the content, format, and behavior of a business object. This is the business object definition. More than one business object can refer to the same business object definition.

Different instances of the BusObjSpec class describe different business objects, varying only in the values of their attributes. Business object definitions that have the same name but different versions are separate instances of the BusObjSpec class.

A connector supports a set of business object definitions. Each connector's configuration information in the repository identifies the business object definitions that the connector supports.
WebSphere InterChange Server

A collaboration can subscribe to a business object definition for notification of events for all verbs or for individual verbs. The business object definition includes a list of verbs that it supports.

Each business object definition contains a reference to a business object handler, which performs the tasks for business object verbs.

The header file for this class is BusObjSpec.hpp. It resides in the following subdirectory of your product directory:

DevelopmentKits\cdk\generic_include
 

The BusObjSpec class has methods for retrieving information about business object attributes. Table 100 summarizes the methods in the BusObjSpec class.

Table 100.
Member methods of the BusObjSpec class
Member method Description Page
BusObjSpec() Do not call the constructor to create business object definitions in the repository. To create business object definitions, use Business Object Designer.
getAppText() Retrieves the application-specific information for the business object definition. getAppText()
getAttribute() Retrieves a business object attribute by name or position. getAttribute()
getAttributeCount() Retrieves the number of attributes that are in the attribute list of the business object definition. getAttributeCount()
getAttributeIndex() Retrieves the position of a business object attribute in the attribute list. getAttributeIndex()
getMyBOHandler() Retrieves the business object handler to which the business object definition refers. getMyBOHandler()
getName() Retrieves the name of a business object or business object definition. getName()
getVerbAppText() Retrieves the application-specific information for a verb. getVerbAppText()
getVersion() Retrieves the version of the business object definition. getVersion()
isVerbSupported() Determines whether the business object definition supports a particular verb. isVerbSupported()

Copyright IBM Corp. 1997, 2003