Telosys version : 3.3.0
To define Scala as the target language call  #set( $env.language = 'Scala' )  in the templates files.
The information below shows the behavior of the generator when 'Scala' is the current target language.
| Model type | Default | @UnsignedType | @NotNull | @PrimitiveType | @ObjectType | 
|---|---|---|---|---|---|
| string | String | String | String | String | String | 
| byte | Byte | Byte | Byte | Byte | Byte | 
| short | Short | Short | Short | Short | Short | 
| int | Int | Int | Int | Int | Int | 
| long | Long | Long | Long | Long | Long | 
| decimal | BigDecimal | BigDecimal | BigDecimal | BigDecimal | BigDecimal | 
| float | Float | Float | Float | Float | Float | 
| double | Double | Double | Double | Double | Double | 
| boolean | Boolean | Boolean | Boolean | Boolean | Boolean | 
| date | LocalDate | LocalDate | LocalDate | LocalDate | LocalDate | 
| time | LocalTime | LocalTime | LocalTime | LocalTime | LocalTime | 
| timestamp | LocalDateTime | LocalDateTime | LocalDateTime | LocalDateTime | LocalDateTime | 
| binary | Array[Byte] | Array[Byte] | Array[Byte] | Array[Byte] | Array[Byte] | 
'@UnsignedType'  has no effect
'@NotNull'  has no effect 
'@PrimitiveType'  has no effect 
'@ObjectType'  has no effect  
| TRUE | true | 
| FALSE | false | 
| NULL | null | 
| Model type | Language type | Language full type | Language literal value example | 
|---|---|---|---|
| string | String | java.lang.String | "AAA" | 
| byte | Byte | Byte | 1 | 
| short | Short | Short | 1 | 
| int | Int | Int | 100 | 
| long | Long | Long | 1000 | 
| decimal | BigDecimal | scala.math.BigDecimal | 10000.77 | 
| float | Float | Float | 1000.5 | 
| double | Double | Double | 1000.66 | 
| boolean | Boolean | Boolean | true | 
| date | LocalDate | java.time.LocalDate | java.time.LocalDate.of(2001,6,22) | 
| time | LocalTime | java.time.LocalTime | java.time.LocalTime.of(1,46,52) | 
| timestamp | LocalDateTime | java.time.LocalDateTime | java.time.LocalDateTime.of(2001,5,21,1,46,52) | 
| binary | Array[Byte] | Array[Byte] | null |