Final
Specifies whether this query is final (cannot be overridden in subclasses).
Usage
To specify that a query is final, use the following syntax:
Query name(formal_spec) As classname [ Final ] { //implementation }
Copy code to clipboard
Otherwise, omit this keyword or place the word Not immediately before the keyword.
Details
A class member that is marked as final cannot be overridden in subclasses.
Default
If you omit this keyword, the query is not final.
See Also
“Query Definitions” in this book
“Defining and Using Class Queries” in Defining and Using Classes
“Introduction to Compiler Keywords” in Defining and Using Classes