The capabilities of the ExternalType classifier are made available when you code an external type, which is the basis of a variable that provides access to non-EGL code.
In some situations, you access a predefined external type to work with a technology that EGL supports. For example, you must declare a variable that creates a BIRT report engine before you can process a BIRT report. The type of the variable is a predefined EGL external type that is based on a Java™ class.
Stereotype | Purpose |
---|---|
JavaObject | To reference constructors, methods, and fields in a Java type. |
JavaScriptObject | To support Rich UI applications; specifically, to make available a EGL widget that is not written in EGL or to make available some general JavaScript logic such as a random number generator. |