Specifying operations as queries

In UML diagrams, operations that function as queries provide ways to observe the state of a system. You can specify that an operation is a query if it returns a value, but does not change the state of a system.


  1. In the diagram editor, click an operation.
  2. In the Properties view, click the General tab.
  3. On the General page, in the Qualifiers field, select the Query check box.