BusObjDef class

The Object Discovery Agent Development Kit (ODK) API provides the BusObjDefclass to represent a business object definition that the Object Discovery Agent (ODA) generates. Table 74 summarizes the methods in the BusObjDef class.

Table 74.

Member methods of the BusObjDef class.
Member method Description Page
BusObjDef() Creates a business-object-definition object. BusObjDef()
addDefaultVerbs() Adds the default verbs (Create, Retrieve, Update, and Delete) to the list of supported verbs. addDefaultVerbs()
getAppInfo() Retrieves the application-specific information for the business object definition. getAppInfo()
getAttrCount() Retrieves the number of attributes, including ObjectEventId, in the attribute list of the business object definition. getAttrCount()
getAttribute() Retrieves the attribute by its name or by its specified position in the business object definition. getAttribute()
getAttributeIndex() Retrieves the ordinal position of the attribute in the business object definition, given its attribute name. getAttributeIndex()
getAttributeList() Retrieves a vector that contains the list of attributes in the business object definition. getAttributeList()
getName() Retrieves the name of the business object definition. getName()
getVerb() Retrieves the verb object for the specified verb name. getVerb()
getVerbCount() Retrieves the number of verbs in the verb list. getVerbCount()
getVerbList() Retrieves a vector that contains the list of verbs in the business object definition. getVerbList()
getVersion() Retrieves the version of the business object definition. getVersion()
insertAttribute() Inserts the specified attribute in the business object's attribute list. insertAttribute()
insertVerb() Inserts the specified verb into the business object's verb list. insertVerb()
removeAttribute() Removes the attribute at the specified position in the attribute list. removeAttribute()
removeVerb() Removes the verb with the specified name in the verb list. removeVerb()
setAppInfo() Sets the application-specific information for the business object definition. setAppInfo()
setAttributeList() Sets the list of attributes for the business object definition. setAttributeList()
setVerbList() Sets the list of verbs for the business object definition. setVerbList()

Copyright IBM Corp. 1997, 2004