getSpecFor()

Retrieves a pointer to the business object definition (BusObjSpec instance) to which the business object refers.

Syntax

BusObjSpec *getSpecFor();
 

Return values

Pointer to the business object definition to which the business object refers.

Notes

You can use the getSpecFor() method to retrieve information about attributes of a business object.

Examples

int i = pObj.getSpecFor()->getAttributeIndex(name);
 

See also

See also the description of the BusObjSpec class.

Copyright IBM Corp. 1997, 2003