company logo

user-defined method

User-defined methods are methods defined in the context of an application. There are different ways of defining user-defined methods.

User defined methods can be implemented in the context of a persistent structure stored in the database. For calling those user functions in an OQL expression, an OQL interface must be generated for those functions.

Another possibility is defining context classes for properties or structures. Those will automatically generate an OQL interface and can be provided on the structure, but also on the property level.

The last possibility is the definition of expressions in expression classes or as in line expressions in a view or access path definition.