Application Classes General Structure

This section discusses the general form of an application class. All application classes are contained in application packages; and all application classes are composed of executable PeopleCode statements.

The division of application classes facilitates object-oriented programming and enables a separation of the following:

  • What the class provides to other classes.

  • What is applicable to the entire class.

  • What is applicable to the definition of a method.

The data types used in an application class (for methods parameters, return values, and so on) can be any PeopleCode types, including application classes. Likewise, application classes can be used anywhere in a PeopleCode program where a general data type can be used.