What are Methods?

The three built-in framework methods, called Pre-LINC, Main and Pre-screen logics in EAE 3.3, are now referred to as Prepare, Main, and Construct methods. These methods are automatically invoked during the ispec processing cycle.

Each stereotyped class inherits a number of framework methods that are automatically executed at predefined stages of the runtime cycle. For example, all classes with the Ispec stereotype inherit the Construct, Prepare, and Main framework methods of that stereotype.

You can also add your own methods, not only to ispecs and reports but also directly to the segment class or to any class in your model. These user-defined methods are not automatically executed at runtime; you invoke them from logic in other methods, such as the logic of a framework method.

Methods of the segment class can be invoked from anywhere in the business segment, except from classes that are not inner classes. This makes them useful for storing routines that are reused in many places in your system.