Member methods

Table 99 summarizes the methods in the BusinessObject class.

Table 99. Member methods of the BusinessObject class

Member method Description Page
BusinessObject() Creates a new business object that refers to the business object definition (BusObjSpec). BusinessObject()
clone() Copies an existing business object. clone()
doVerbFor() Calls the business object handler (instance of the BOHandlerCPP class) to perform the actions of the business object's active verb. doVerbFor()
dump() Formats and returns business object information in a standard or defined format for logging, and tracing. dump()
getAttrCount() Retrieves the number of attributes that the business object has. getAttrCount()
getAttrDesc() Retrieves an attribute description (BOAttrType) by name or position. getAttrDesc()
getAttrName() Retrieves the name of an attribute by position. getAttrName()
getAttrType() Retrieves an attribute type by name or position. getAttrType()
getAttrValue() Retrieves an attribute value by name or position. getAttrValue()
getBlankValue() Retrieves the special blank value. isBlankValue()
getDefaultAttrValue() Retrieves the default value of an attribute value by name or position. getDefaultAttrValue()
getIgnoreValue() Retrieves the special "ignore" value. getIgnoreValue()
getLocale() Retrieves the locale associated with the business object. getLocale()
getName() Retrieves the name of the business object specification that the business object references. getName()
getParent() Retrieves the parent business object of the current business object. getParent()
getSpecFor() Retrieves a pointer to the name of the business object definition (BusObjSpec) to which the business object refers. getSpecFor()
getVerb() Retrieves the active verb for the business object. getVerb()
getVersion() Retrieves the version of the business object specification that the business object references. getVersion()
initAndValidateAttributes() If the connector configuration property UseDefaults is TRUE, this method sets any attributes with NULL values with the default values from the business object definition. initAndValidateAttributes()
isBlank() Determines whether the value of the attribute with the specified name or position is blank. isBlank()
isBlankValue() Determines whether a specified value is blank. isBlankValue()
isIgnore() Determines whether the value of the attribute with the specified name or position is "ignore". isIgnore()
isIgnoreValue() Determines whether a specified value is the "ignore" value. isIgnoreValue()
makeNewAttrObject() Creates a new object of the correct type for the attribute with the specified name or position. This operation typically applies only to attributes that contain child objects. makeNewAttrObject()
setAttrValue() Sets the value of an attribute by name or position. setAttrValue()
setDefaultAttrValues() Initializes the business object's attributes with their default values. setDefaultAttrValues()
setLocale() Sets the locale associated with the business object. setLocale()
setVerb() Sets the active verb for the business object. setVerb()

Copyright IBM Corp. 1997, 2003