Conditions

A condition is a declarative restricted method that returns a Boolean result. Conditions cannot be reimplemented from a superschema or superclass; that is, they are not polymorphic.

The boolean-expression that is returned can contain only references to the properties of the class and calls to other conditional expressions of that class or its superclass.

Any parameters that you specify can be constant parameters only. Only if and return instructions can be used in condition methods.

For details about defining conditions, see "Adding Conditions to Classes or Primitive Types" under "Defining and Compiling JADE Methods and Conditions", in Chapter 4.