Telosys objects
Last updated
Last updated
Telosys provides a set of predefined objects usable in the templates :
Objects representing the model elements :
(current model)
(entity defined in the model) [0:N entities in each model]
(attribute defined in an entity) [1:N attributes in each entity]
(part of foreign key, if attribute is involved in one or more FK)
(link defined in an entity) [0:N links in each entity]
(attribute involved in link definition) [1:N / link]
(foreign key defined in an entity) [0:N FK in each entity]
(attribute involved in FK definition) [1:N / fk]
(reference to other entity) [0:N references in each entity]
Current environment and project :
(environment configuration)
(project configuration)
Generation in progress :
(current target file being generated)
(bundle in use for current generation)
(generator engine)
Utility functions and tools :
(set of utility functions)
(set of constants)
(a factory to create objects)
(to use files located on the file system)
(to load your own utility classes)
(current date and time)
(literal values generator for attributes)
(utility functions for H2 database)
Objects dedicated to code generation of certain target languages :
Java :
C# :
PHP :
SQL :
HTML :
Deprecated objects (do not use, just for backward compatibility) :
$jdbcFactory (use $factory instead)
$today (use $now instead)
The documentation reference for each object is available here :
Latest version :
Previous version :