REST main annotation
- Last Updated: January 16, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
A REST main annotation appears at the top of a class or procedure file, preceding any code in the file.
A REST main annotation contains the following attributes:
- File
- Type
- executionMode
- The value of executionMode can be:
executionMode value |
Description |
|---|---|
external |
Default value for an external procedure (a file that contains no internal procedures or functions). |
single-run |
Default value for a procedure that contains internal procedures and/or user-defined functions. This value enables you to call internal procedures and user-defined functions in a procedure file. |
singleton |
Default value for a class that contains methods. This value enables you to call methods in a class file or internal procedures in a procedure file. |