Making a Class Queriable

Before a query is attached to a class, you need to make the class queriable. Making a class queriable adds the slot SLOT-QUERIES to the class. If the class is queriable, attached queries are displayed in the Class Form for that class. 

To make a class queriable:

  1. Go to the Classes Tab.
  2. Select the class you want to make queriable. It can be the class you want to attach a query to, or a superclass of that class. 
  3. Hold down the right mouse button and select Change metaclass... from the right-click menu. If you wish to make all subclasses of the current class queriable, then choose Change metaclass of subclasses.



    The Select Metaclass dialog is displayed.
  4. Select :CLASS | :STANDARD-CLASS | QUERYABLE-CLASS and click OK.



    Note: If QUERYABLE-CLASS does not appear, you may need to include the pal-query project. See Enabling PAL Queries for more information.
  5. The class is made queriable and the slot SLOT-QUERIES is added to the class.

PAL Queries User Interface/Making a Class Queriable

Next: Attaching a Query to a Class

PAL Table of Contents