An interface declares property, method, and event prototypes and certain related data definitions that must be implemented by a class that specifies the interface as part of its own class definition. ABL allows you to define an interface as a named block that always begins with the
INTERFACE statement and always ends with the
END INTERFACE statement. The source code for an
INTERFACE statement appears only in a class definition file (
.cls file type), and a class definition file can contain only one such
INTERFACE statement. This statement defines the interface type name that other classes can use to identify this interface as one they intend to implement. (For more information on class definition files, see
Class definition files and object type names.)
For information on using an interface type in ABL, see
Using objecttypes. For more information on defining interfaces, see
Defininginterfaces.