Difference between revisions of "Datatype DSL"

From OS.bee documentation
Jump to: navigation, search
(Overview)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 +
The Datatype DSL is, beside the Entity DSL, one of the most basic DSL for the Software Factory. It provides you with the most common used basic (atomic) datatypes by mapping them. It also allows you to define new simple and complex datatypes, to be used in all your projects. You will find here a couple of informations to help you understand how to use it.
 +
  
 
==Overview==
 
==Overview==
 +
The Datatype DSL as such is working under the hood of your application's entity model by providing acces to datatypes (Number, String, Boolean...). The figure below represents straightforward how the grammar was designed in order to make it possible for you to use and also create your own datatypes. This is the structural foundation, on which the Datatype DSL model is based on.
  
 
[[File:Grammar_Definition.png |center|''Figure 1: Grammar Definition''|thumbnail|800px]]
 
[[File:Grammar_Definition.png |center|''Figure 1: Grammar Definition''|thumbnail|800px]]
Line 8: Line 11:
  
 
==Datatypes Model Files==
 
==Datatypes Model Files==
 +
 +
Datatype DSL model files end with the .datatype extension. Data Interchange models may be split into several .data files, as long as they have the same package declaration.
  
 
==Datatypes==
 
==Datatypes==

Revision as of 11:42, 21 September 2017

Purpose

The Datatype DSL is, beside the Entity DSL, one of the most basic DSL for the Software Factory. It provides you with the most common used basic (atomic) datatypes by mapping them. It also allows you to define new simple and complex datatypes, to be used in all your projects. You will find here a couple of informations to help you understand how to use it.


Overview

The Datatype DSL as such is working under the hood of your application's entity model by providing acces to datatypes (Number, String, Boolean...). The figure below represents straightforward how the grammar was designed in order to make it possible for you to use and also create your own datatypes. This is the structural foundation, on which the Datatype DSL model is based on.

Figure 1: Grammar Definition
Figure 2: Grammar Definition - Detailed View 1
Figure 3: Grammar Definition - Detailed View 2

Datatypes Model Files

Datatype DSL model files end with the .datatype extension. Data Interchange models may be split into several .data files, as long as they have the same package declaration.

Datatypes

Reserved Keywords

References and detailed description over all the reserved keywords.

Datatype Definition

Custom Datatypes

In this you will find some informations about the available custom datatypes (OSBEE).

BlobMapping

This datatype allows the use of big data as a blob.


Disclaimer / Notice

How to use existing and newly created Datatypes? => The same way it is used in the Entity DSL, Entitymock DSL and the Function Library DSL with the import keyword.

Copyright Notice

All rights are reserved by Compex Systemhaus GmbH. In particular, duplications, translations, microfilming, saving and processing in electronic systems are protected by copyright. Use of this manual is only authorized with the permission of Compex Systemhaus GmbH. Infringements of the law shall be punished in accordance with civil and penal laws. We have taken utmost care in putting together texts and images. Nevertheless, the possibility of errors cannot be completely ruled out. The Figures and information in this manual are only given as approximations unless expressly indicated as binding. Amendments to the manual due to amendments to the standard software remain reserved. Please note that the latest amendments to the manual can be accessed through our helpdesk at any time. The contractually agreed regulations of the licensing and maintenance of the standard software shall apply with regard to liability for any errors in the documentation. Guarantees, particularly guarantees of quality or durability can only be assumed for the manual insofar as its quality or durability are expressly stipulated as guaranteed. If you would like to make a suggestion, the Compex Team would be very pleased to hear from you.

(c) 2016-2024 Compex Systemhaus GmbH