2017 June Release

app.ducx Object Model LanguagePermanent link for this heading

The purpose of the app.ducx object model language is to define the persistent object model for a software component.

Using the app.ducx object model language, you can easily define the basic elements that make up the object model:

  • object classes
  • properties and fields
  • enumeration types
  • compound types
  • extensions of existing object classes and types

An object model block consists of import declarations and object model elements. The objmodel keyword denotes an object model block. It must be followed by the reference of your software component and curly braces.

Object model blocks can only be contained in files with a .ducx-om extension.

Syntax

objmodel softwarecomponent
{
  // Import declarations
  import softwarecomponent;

  // Object model elements (object classes, types, fields)
  ...
}