2021 September Release

app.ducx Use Case LanguagePermanent link for this heading

The purpose of the app.ducx use case language is to define and implement use cases. With the app.ducx use case language you can define new use cases and provide method implementations for these use cases. You can use app.ducx expression language or virtual applications to implement use cases. Alternatively you can use Java for implementing.

A use case model block consists of import declarations, transaction variable declarations, and use case model elements. The usecases keyword denotes a use case model block. It must be followed by the reference of your software component and curly braces.

Use case model blocks can only be contained in files with a .ducx-uc extension.


usecases softwarecomponent
  // Import declarations
  import softwarecomponent;

  // Transaction variable declarations
  variables {
    datatype reference;

  // Use case model elements