The Parameter Container Classes 
In the C++ business object proxy class, for each member function that interfaces with a business object method, there is a corresponding parameter container class that contains the parameters used for calling the method. For example,
CBoProfitCenter::Getdetail()
has a class
CBoProfitCenter::CBoGetdetailParams
that contains all the defined parameters for the method
ProfitCenter.Getdetail. Using the member functions in this class, the application program sets the parameter values in preparation for a method call, and retreives the returned parameter values after the method call.The parameter container class contains 3 types of parameters: simple, structure and table parameters.
- Simple parameters
: each simple parameter has a setter and getter function for setting and getting the value of the simple parameter. The setter function name has the format
Set<parameter_name>(...)
, and the getter function name has the format
Get<parameter_name>()
.
parameter_name
itself has the format of beginning with an upper-case character and with the rest of the characters in lower-case.
Structure and table parameters: unlike simple parameters, structure and table parameters have only the getter function, without the accompanying setter function. The getter function name has identical format as the the getter function name for simple parameters. The getter functions for structure and table parameters return a reference to an object which is the proxy object of the structure or table parameters. Then, the application program can use the setter and getter functions of the individual fields in the structure or table parameters to access the individual fields. For description of the proxy classes for structure and table parameters, please refer to
The Reference Structure Type Classes.
Table parameters: the proxy classes for table parameters use the template class
CBoTable
in conjunction with the reference structure type proxy classes for accessing individual rows using index. Please refer to
The CBoTable Template Class.
The classes of this category are defined in cbo<business_object_name>.h and are implemented in cbo<business_object_name>.cpp, in the same file where the parent business object proxy classes are defined.
See also:
The Business Object Proxy Classes