The following kinds of elements in a Class model can have Alf bodies:

  • The method of an Operation.
  • The classifier behavior of a Class.

In general, to edit the Alf body of such an element in the Alf editor window, you select it either in the Model Browser or directly on its symbol if it appears on a Class diagram.