The Object Discovery Agent Development Kit (ODK) API provides the BusObjAttrType class to represent the valid data types for attributes in a business object definition. Any class that implements the BusObjAttrType interface can access its defined constants directly. For example, if the ODKAgentBase2 class implements the BusObjAttrType interface, its methods can access the BOOLEAN constant as follows:
int bool_type = BOOLEAN;
The BusObjAttrType class defines the following: