As a solution to the issue above, it is recommended to store the definition of the cardinalities and (potentially any other class attribute) in a file and include it in the library by using the IMPORT statement. Please find below the recommended steps to perform this change:
1. Save the content of the respective field in a text file using your preferred text editor and naming convention (e.g. "cardinality_d_<Klassenname>.leo")
2. Import the file(s) into the library
a. Open the ADOxx Development Toolkit
b. Navigate in the menu to "Extras" -> "File Management..." (see attachment File_Management_1.PNG)
c. Select application library (see attachment File_Management_2.PNG)
d. Click on "Import"
e. Select file(s) and click on "Open" to import(see attachments Open_Files.bmp, Success_Message.PNG)
3. Instead of writing the code in the attribute, include the respective file from the library:
@INCLUDE "db:\\<Dateiname>.leo"