Function Library DSL
Contents
Introduction
Function Library model defines the java functions for Os.bee. It could be used in other models. For example, in entity Person, the function getImagePickerMap from group ComboBox is used here.
Function Library DSL
The FunctionLibraryDSL defines the java functions for Os.bee and the functions will be used in other Os.bee models..
The main semantic elements of the FunctionLibraryDSL are:
- package - The root element that contains all the other elements. A model can contain multiple packages.
- import declarations - Used to import external models or other Java classes.
- group - define the function group, including function, test and rate.
- blip-group - define the function group for blip, including function, test and rate.
- converter - define the function for converter.
- statemachine - define the function for statemachine.
- rating - define the rating, all value of the rating will be saved as enum.
Syntax
package definition
► Syntax:
package <package name> {
group <group name> {. . .}
|blip-group <blipGroup name> {. . .}
|converter <converter name> {. . .}
|statemachine <statemachine name> {. . .}
|rating <rating name> {. . .}
. . .
}
important definition
FunctionLibraryFunction
► Syntax:
package <package name> {
}
FunctionLibraryTest
► Syntax:
package <package name> {
}
FunctionLibraryRate
► Syntax:
package <package name> {
}
group
► Syntax:
package <package name> {
}
blip group
► Syntax:
package <package name> {
}
converter
► Syntax:
package <package name> {
}
statemachine
► Syntax:
package <package name> {
}
rating
► Syntax:
package <package name> {
}
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