If you want to create your own data model within the Designer, you need to create a Service first. In the Service panel resides a folder Implementation where you can add your own data model to.

Go to the Implementation folder in the service panel of your service.

Refer to Service Panel for more information on how to create elements in the service panel.

Implementation Elements

To model your own data structures, you have the following elements available:

ElementDescriptionDetails
Package


Class






Property

Operation


Parameter

Operation

Operations can have suboperations with their own parameters.


Parameter
...

Suboperations can have suboperations with their own parameters and so on...

Interface





Interface

Interfaces can have sub-interfaces and sub-classes.


Class
Operation
Operations and parameters for interfaces are the same as for classes. The difference is that they have no implementation but only define the signature for the dependent classes to derive from.

Parameter

Each element of the Implementation folder has a context menu and quick actions. The context menu contains options to create new elements to the selected element, and to edit the current element. Via the quick actions, you can access the most used menu items directly with a single click.

Package

The quick actions of a package allow for the creation of packages, classes and interfaces.

Quick ActionDescription
Add another package within the existing package.
Add a class to the package.
Add an interface to the package.

The context menu of a package allows you to create further elements, to cut, copy and paste the package, to change the name of the package, and to delete it.

Menu ItemDescription
Add PackageAdd another package within the existing package.
Add ClassAdd a class to the package.
Add InterfaceAdd an interface to the package.
Cut
Cut the package to paste it elsewhere to the Implementation tree.
Copy
Copy the package to paste it elsewhere to the Implementation tree.
Paste
Paste the package elsewhere to the data model tree. Available if Copy or Cut option have been used before.
Rename
Change the package name.
Delete
Delete the package.

Package Message is a generated package that contains all classes that are related to the forms you have already created to your Forms folder. This package is locked - you cannot change the generated form classes.

Class

 


The quick actions of a class allow for the creation of properties as well as operations with different types of implementation.

Quick ActionDescription
Add a property to the class.

The context menu of a class allows you to create further elements, to cut, copy and paste the class, to change the name of the class, and to delete it.

Menu ItemDescription
Add Class
Add Interface
Add PropertyAdd a property to the class.
Add Operation
Cut
Copy
Paste
Rename
Delete

Property

The context menu of a property allows you to cut, copy and paste the property, to change the name of the property and delete it. It is not possible to create further elements below a property. 

Menu ItemDescription
Cut
Cut the property to paste it elsewhere to the data model tree.
Copy
Copy the property to paste it elsewhere to the data model tree.
Paste
Paste the property elsewhere to the data model tree. Available if Copy or Cut option have been used before.
Rename
Change the name of the property.
Delete
Delete the property.

Operation

An operation adds behavior to a class or interface. The behavior describes how to process the data given by the parameters. In the context of the Designer, you can implement operations as:

For detailed information on how to implement the different types of operations refer to the the above mentioned pages.

The quick actions of an operation allow for the creation of parameters with different directions, and to jump to the implementation of the operation.

The context menu of an operation allows you to create further elements, to select and change the type of implementation of the operation and to open the implementation of the operation. Furthermore you can cut, copy and paste the operation, change the name of the operation, and delete it via this menu.

Parameter


Refer to Adding Parameters to Operations for information on how to create parameters.

The context menu of a parameter allows you to change the order of parameters as well as to change the name of a parameter. Furthermore you can cut, copy and paste as well as delete the parameter via this menu. It is not possible to create further elements below a parameter.

If you want to change the direction of a parameter, select the parameter and change attribute Direction in the Attributes panel:


Interface

The quick action of an interface allows for the creation of operations.

The Interface context menu allows you to create further elements and to change the name of the interface. Furthermore you can cut, copy and paste as well as delete the interface via this menu.