Target languages
With Telosys you can generate any type of language by managing yourself all the target language specificities. But for the most common languages you can indicate the nature of your target language so as to simplify the writing of templates.
The target language can be specified in the template files (.vm) using the following directive :
1
#set( $env.language = 'LanguageName' )
Copied!
Thus Telosys will be able to apply certain default behaviors, for example to convert the 'neutral type' of the model into a language-specific type or to determine literal values adapted to the language.
By default the target language is Java.
In the templates the target language has an influence on :
    $attribute.type
    $attribute.fullType
    $attribute.simpleType
    $attribute.wrapperType
    $attribute.isPrimitiveType()
All the pre-configured target languages currently supported by Telosys are defined below :
Last modified 3mo ago
Copy link