Complex Data

The classes defined in the business object model (BOM) are represented in the runtime JavaScript API.

Parameters can be defined as external references to classes defined in a BOM, either in the same project as the form or in dependent projects. Each attribute defined in a class results in corresponding get<attribute-name>() and set<attribute-name>(value) methods, where <attribute-name> is the BOM attribute name with its first character forced to uppercase. For example, a BOM class Customer that had a firstName attribute would generate a Customer class with the methods:

String getFirstName();
void setFirstName(String firstName);